[[test]]
name = "use-async-std"
required-features = ["async-io"]
[[test]]
name = "use-tokio"
required-features = ["tokio"]
[dependencies.async-io]
optional = true
version = "1.13.0"
[dependencies.data-encoding]
version = "2.3.2"
[dependencies.futures]
version = "0.3.27"
[dependencies.if-watch]
version = "3.0.0"
[dependencies.libp2p-core]
version = "0.39.0"
[dependencies.libp2p-identity]
version = "0.1.0"
[dependencies.libp2p-swarm]
version = "0.42.0"
[dependencies.log]
version = "0.4.14"
[dependencies.rand]
version = "0.8.3"
[dependencies.smallvec]
version = "1.6.1"
[dependencies.socket2]
features = ["all"]
version = "0.4.0"
[dependencies.tokio]
default-features = false
features = ["net", "time"]
optional = true
version = "1.19"
[dependencies.trust-dns-proto]
default-features = false
features = ["mdns", "tokio-runtime"]
version = "0.22.0"
[dependencies.void]
version = "1.0.2"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1.9.0"
[dev-dependencies.env_logger]
version = "0.10.0"
[dev-dependencies.tokio]
default-features = false
features = ["macros", "rt", "rt-multi-thread", "time"]
version = "1.19"
[features]
async-io = ["dep:async-io", "if-watch/smol"]
tokio = ["dep:tokio", "if-watch/tokio"]
[package]
authors = ["Parity Technologies <admin@parity.io>"]
categories = ["network-programming", "asynchronous"]
description = "Implementation of the libp2p mDNS discovery method"
edition = "2021"
keywords = ["peer-to-peer", "libp2p", "networking"]
license = "MIT"
name = "libp2p-mdns"
repository = "https://github.com/libp2p/rust-libp2p"
rust-version = "1.62.0"
version = "0.43.1"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]