[package] name = "leaf-protocol" version.workspace = true authors.workspace = true categories.workspace = true documentation.workspace = true edition.workspace = true keywords.workspace = true license.workspace = true repository.workspace = true description = "Rust implementation of the Leaf Protocol." [features] default = ["backend_iroh"] backend_iroh = ["iroh", "quick_cache", "tokio", "once_cell"] [dependencies] anyhow = "1.0.86" borsh = { version = "1.5.1", features = ["derive"] } leaf-protocol-macros = { version = "0.1.0", path = "./macros" } leaf-protocol-types = { version = "0.1.0", path = "./types" } # backend_iroh futures = { version = "0.3.30", default-features = false } iroh = { version = "0.22.0", optional = true } once_cell = { version = "1.19.0", optional = true } quick_cache = { version = "0.6.1", optional = true } tokio = { version = "1.39.1", default-features = false, features = ["rt"], optional = true }