# 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-mainline-content-discovery" version = "0.5.0" description = "Content discovery for iroh, using the bittorrent mainline DHT" license = "MIT OR Apache-2.0" [dependencies.anyhow] version = "1" features = ["backtrace"] optional = true [dependencies.derive_more] version = "1.0.0-beta.1" features = [ "debug", "display", "from", "try_into", ] [dependencies.flume] version = "0.11.0" [dependencies.futures] version = "0.3.25" optional = true [dependencies.genawaiter] version = "0.99.1" features = ["futures03"] optional = true [dependencies.hex] version = "0.4.3" [dependencies.iroh-bytes] version = "0.13.0" [dependencies.iroh-net] version = "0.13.0" [dependencies.iroh-pkarr-node-discovery] version = "0.2.0" optional = true [dependencies.mainline] version = "1.0.0" optional = true [dependencies.postcard] version = "1" features = [ "alloc", "use-std", ] optional = true default-features = false [dependencies.quinn] version = "0.10" optional = true [dependencies.rcgen] version = "0.12.0" optional = true [dependencies.rustls] version = "0.21" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde-big-array] version = "0.5.1" [dependencies.tokio] version = "1.36.0" optional = true [dependencies.tracing] version = "0.1" optional = true [features] client = [ "iroh-pkarr-node-discovery", "mainline", "quinn", "tracing", "anyhow", "rcgen", "genawaiter", "rustls", "futures", "postcard", "tokio", ] default = ["client"]