[badges.codecov]
branch = "main"
repository = "bluejekyll/trust-dns"
service = "github"
[badges.maintenance]
status = "actively-developed"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.futures-util]
default-features = false
features = ["std"]
version = "0.3.5"
[dependencies.lazy_static]
version = "1.2.0"
[dependencies.lru-cache]
version = "0.1.2"
[dependencies.parking_lot]
version = "0.12"
[dependencies.resolv-conf]
features = ["system"]
optional = true
version = "0.7.0"
[dependencies.rustls]
optional = true
version = "0.20.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.smallvec]
version = "1.6"
[dependencies.thiserror]
version = "1.0.20"
[dependencies.tokio]
optional = true
version = "1.0"
[dependencies.tokio-native-tls]
optional = true
version = "0.3"
[dependencies.tokio-openssl]
optional = true
version = "0.6.0"
[dependencies.tokio-rustls]
optional = true
version = "0.23.0"
[dependencies.tracing]
version = "0.1.30"
[dependencies.trust-dns-proto]
default-features = false
version = "0.22.0"
[dependencies.webpki-roots]
optional = true
version = "0.22.1"
[dev-dependencies.futures-executor]
default-features = false
features = ["std"]
version = "0.3.5"
[dev-dependencies.tracing-subscriber]
features = ["std", "fmt", "env-filter"]
version = "0.3"
[features]
default = ["system-config", "tokio-runtime"]
dns-over-https = ["trust-dns-proto/dns-over-https"]
dns-over-https-rustls = ["trust-dns-proto/dns-over-https-rustls", "dns-over-rustls", "dns-over-https"]
dns-over-native-tls = ["dns-over-tls", "tokio-native-tls", "trust-dns-proto/dns-over-native-tls"]
dns-over-openssl = ["dns-over-tls", "trust-dns-proto/dns-over-openssl", "tokio-openssl"]
dns-over-quic = ["rustls/quic", "dns-over-rustls", "trust-dns-proto/dns-over-quic"]
dns-over-rustls = ["dns-over-tls", "rustls", "tokio-rustls", "trust-dns-proto/dns-over-rustls", "webpki-roots"]
dns-over-tls = []
dnssec = []
dnssec-openssl = ["dnssec", "trust-dns-proto/dnssec-openssl"]
dnssec-ring = ["dnssec", "trust-dns-proto/dnssec-ring"]
serde-config = ["serde", "trust-dns-proto/serde-config"]
system-config = ["ipconfig", "resolv-conf"]
testing = []
tokio-runtime = ["tokio/rt", "trust-dns-proto/tokio-runtime"]
[lib]
name = "trust_dns_resolver"
path = "src/lib.rs"
[package]
authors = ["Benjamin Fry <benjaminfry@me.com>"]
categories = ["network-programming"]
description = "Trust-DNS is a safe and secure DNS library. This Resolver library uses the Client library to perform all DNS queries. The Resolver is intended to be a high-level library for any DNS record resolution see Resolver and AsyncResolver for supported resolution types. The Client can be used for other queries.\n"
documentation = "https://docs.rs/trust-dns-resolver"
edition = "2018"
homepage = "http://www.trust-dns.org/index.html"
keywords = ["DNS", "BIND", "dig", "named", "dnssec"]
license = "MIT/Apache-2.0"
name = "trust-dns-resolver"
readme = "README.md"
repository = "https://github.com/bluejekyll/trust-dns"
version = "0.22.0"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-apple-darwin", "x86_64-pc-windows-msvc"]
[target."cfg(windows)".dependencies.ipconfig]
optional = true
version = "0.3.0"