# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "leaf-protocol" version = "0.1.0" authors = ["Weird / Leaf Contributors"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust implementation of the Leaf Protocol." documentation = "https://github.com/muni-town/agentic-fediverse/blob/main/leaf-protocol-draft.md" readme = "README.md" keywords = [ "p2p", "leaf", "protocol", "local-first", "offline", ] categories = ["network-programming"] license = "BlueOak-1.0.0" repository = "https://github.com/muni-town/weird/" [lib] name = "leaf_protocol" path = "src/lib.rs" [[example]] name = "hashes" path = "examples/hashes.rs" [dependencies.anyhow] version = "1.0.86" [dependencies.borsh] version = "1.5.1" features = ["derive"] [dependencies.futures] version = "0.3.30" default-features = false [dependencies.iroh] version = "0.22.0" optional = true [dependencies.leaf-protocol-macros] version = "0.1.0" [dependencies.leaf-protocol-types] version = "0.1.0" [dependencies.once_cell] version = "1.19.0" optional = true [dependencies.quick_cache] version = "0.6.1" optional = true [dependencies.tokio] version = "1.39.1" features = ["rt"] optional = true default-features = false [features] backend_iroh = [ "iroh", "quick_cache", "tokio", "once_cell", ] default = ["backend_iroh"]