# 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 = "iroh-topic-tracker" version = "0.1.11" authors = ["Zacharias Boehler <rustonbsd@mailfence.com>"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Iroh universal (gossipsub) topic tracker." readme = "README.md" keywords = [ "gossipsub", "iroh", "pubsub", "networking", "tracker", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/rustonbsd/iroh-topic-tracker" [profile.dev] opt-level = 0 [profile.release] opt-level = 3 lto = true panic = "abort" [lib] name = "iroh_topic_tracker" path = "src/lib.rs" [[example]] name = "client" path = "examples/client.rs" [[example]] name = "gossip_chat" path = "examples/gossip_chat.rs" [[example]] name = "server" path = "examples/server.rs" [[test]] name = "end-to-end-tests" path = "tests/end-to-end-tests.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.anyhow] version = "1" [dependencies.bytes] version = "1.7" features = ["serde"] [dependencies.ed25519-dalek] version = "2.0.0" features = [ "serde", "rand_core", ] [dependencies.futures-lite] version = "2" [dependencies.iroh] version = "0.31" [dependencies.iroh-gossip] version = "0.31.0" optional = true [dependencies.postcard] version = "1" features = [ "alloc", "use-std", "experimental-derive", ] default-features = false [dependencies.rand] version = "0.8.0" [dependencies.serde] version = "1" [dependencies.serde_json] version = "1" [dependencies.sha2] version = "0.10" [dependencies.tokio] version = "1" features = ["full"] [dependencies.z32] version = "1" [dev-dependencies.tokio] version = "1" features = [ "full", "test-util", ] [features] default = [ "iroh-gossip-cast", "iroh-gossip-auto-discovery", ] iroh-gossip-auto-discovery = [ "iroh-gossip", "iroh-gossip-cast", ] iroh-gossip-cast = ["iroh-gossip"]