# 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-router" version = "0.28.0" authors = [ "dignifiedquire ", "n0 team", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "protocol router support for iroh" readme = "README.md" keywords = [ "quic", "networking", "holepunching", "p2p", ] license = "MIT OR Apache-2.0" repository = "https://github.com/n0-computer/iroh" [lib] name = "iroh_router" path = "src/lib.rs" [[example]] name = "custom-protocol" path = "examples/custom-protocol.rs" required-features = ["examples"] [dependencies.anyhow] version = "1.0.91" [dependencies.clap] version = "4" features = ["derive"] optional = true [dependencies.futures-buffered] version = "0.2.9" [dependencies.futures-lite] version = "2.3.0" [dependencies.futures-util] version = "0.3.31" [dependencies.iroh-net] version = "0.28.0" [dependencies.tokio] version = "1.41.0" [dependencies.tokio-util] version = "0.7.12" [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] optional = true [features] default = [] examples = [ "dep:clap", "dep:tracing-subscriber", ] [lints.clippy] unused-async = "warn" [lints.rust] missing_debug_implementations = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(iroh_docsrs)"]