[dependencies.async-std-resolver]
optional = true
version = "0.22"
[dependencies.futures]
version = "0.3.1"
[dependencies.libp2p-core]
version = "0.38.0"
[dependencies.log]
version = "0.4.1"
[dependencies.parking_lot]
version = "0.12.0"
[dependencies.smallvec]
version = "1.6.1"
[dependencies.trust-dns-resolver]
default-features = false
features = ["system-config"]
version = "0.22"
[dev-dependencies.async-std-crate]
package = "async-std"
version = "1.6"
[dev-dependencies.env_logger]
version = "0.9"
[dev-dependencies.tokio-crate]
default-features = false
features = ["rt", "time"]
package = "tokio"
version = "1.0"
[features]
async-std = ["async-std-resolver"]
tokio = ["trust-dns-resolver/tokio-runtime"]
tokio-dns-over-https-rustls = ["tokio", "trust-dns-resolver/dns-over-https-rustls"]
tokio-dns-over-rustls = ["tokio", "trust-dns-resolver/dns-over-rustls"]
[package]
authors = ["Parity Technologies <admin@parity.io>"]
categories = ["network-programming", "asynchronous"]
description = "DNS transport implementation for libp2p"
edition = "2021"
keywords = ["peer-to-peer", "libp2p", "networking"]
license = "MIT"
name = "libp2p-dns"
repository = "https://github.com/libp2p/rust-libp2p"
rust-version = "1.60.0"
version = "0.38.0"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]