# 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" rust-version = "1.75.0" name = "libp2p-mdns" version = "0.46.0" authors = ["Parity Technologies "] description = "Implementation of the libp2p mDNS discovery method" keywords = [ "peer-to-peer", "libp2p", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" [package.metadata.docs.rs] all-features = true [[test]] name = "use-async-std" required-features = ["async-io"] [[test]] name = "use-tokio" required-features = ["tokio"] [dependencies.async-io] version = "2.3.3" optional = true [dependencies.async-std] version = "1.12.0" optional = true [dependencies.data-encoding] version = "2.6.0" [dependencies.futures] version = "0.3.30" [dependencies.hickory-proto] version = "0.24.1" features = ["mdns"] default-features = false [dependencies.if-watch] version = "3.2.0" [dependencies.libp2p-core] version = "0.42.0" [dependencies.libp2p-identity] version = "0.2.9" [dependencies.libp2p-swarm] version = "0.45.0" [dependencies.rand] version = "0.8.3" [dependencies.smallvec] version = "1.13.2" [dependencies.socket2] version = "0.5.7" features = ["all"] [dependencies.tokio] version = "1.38" features = [ "net", "time", ] optional = true default-features = false [dependencies.tracing] version = "0.1.37" [dependencies.void] version = "1.0.2" [dev-dependencies.async-std] version = "1.9.0" features = ["attributes"] [dev-dependencies.libp2p-noise] version = "0.44.0" [dev-dependencies.libp2p-swarm] version = "0.45.0" features = [ "tokio", "async-std", ] [dev-dependencies.libp2p-tcp] version = "0.42.0" features = [ "tokio", "async-io", ] [dev-dependencies.libp2p-yamux] version = "0.45.2" [dev-dependencies.tokio] version = "1.38" features = [ "macros", "rt", "rt-multi-thread", "time", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] async-io = [ "dep:async-io", "dep:async-std", "if-watch/smol", ] tokio = [ "dep:tokio", "if-watch/tokio", ] [lints.clippy] dbg_macro = "warn" manual_let_else = "warn" type_complexity = "allow" unnecessary_wraps = "warn" used_underscore_binding = "warn" [lints.clippy.pedantic] level = "allow" priority = -1 [lints.rust] unreachable_pub = "warn"