[package]
name = "trust-dns-resolver"
version = "0.19.5"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
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.
"""
documentation = "https://docs.rs/trust-dns-resolver"
homepage = "http://www.trust-dns.org/index.html"
repository = "https://github.com/bluejekyll/trust-dns"
readme = "README.md"
keywords = ["DNS", "BIND", "dig", "named", "dnssec"]
categories = ["network-programming"]
license = "MIT/Apache-2.0"
[badges]
codecov = { repository = "bluejekyll/trust-dns", branch = "master", service = "github" }
maintenance = { status = "actively-developed" }
[features]
default = ["system-config", "tokio-runtime"]
dns-over-native-tls = ["dns-over-tls", "tokio-tls", "trust-dns-native-tls"]
dns-over-openssl = ["dns-over-tls", "trust-dns-openssl", "tokio-openssl"]
dns-over-rustls = ["dns-over-tls", "rustls", "tokio-rustls", "trust-dns-rustls", "webpki-roots"]
dns-over-tls = []
dns-over-https-rustls = ["trust-dns-https", "dns-over-rustls", "dns-over-https"]
dns-over-https = []
dnssec-openssl = ["dnssec", "trust-dns-proto/dnssec-openssl"]
dnssec-ring = ["dnssec", "trust-dns-proto/dnssec-ring"]
dnssec = []
serde-config = ["serde", "trust-dns-proto/serde-config"]
system-config = ["ipconfig", "resolv-conf"]
mdns = ["trust-dns-proto/mdns"]
testing = []
tokio-runtime = ["tokio/rt-core", "trust-dns-proto/tokio-runtime"]
[lib]
name = "trust_dns_resolver"
path = "src/lib.rs"
[dependencies]
backtrace = "0.3.44"
cfg-if = "0.1.9"
futures = { version = "0.3.4", default-features = false, features = ["std"] }
lazy_static = "1.0"
log = "0.4"
lru-cache = "0.1.2"
resolv-conf = { version = "0.6.0", optional = true, features = ["system"] }
rustls = {version = "0.17", optional = true}
serde = { version = "1.0", features = ["derive"], optional = true }
smallvec = "1.2"
thiserror = "1.0.14"
tokio = { version = "0.2.16", optional = true }
tokio-tls = { version = "0.3.0", optional = true }
tokio-openssl = { version = "0.4.0", optional = true }
tokio-rustls = { version = "0.13", optional = true }
trust-dns-https = { version = "0.19.5", path = "../https", optional = true }
trust-dns-native-tls = { version = "0.19.5", path = "../native-tls", optional = true }
trust-dns-openssl = { version = "0.19.5", path = "../openssl", optional = true }
trust-dns-proto = { version = "0.19.5", path = "../proto", default-features = false }
trust-dns-rustls = { version = "0.19.5", path = "../rustls", optional = true }
webpki-roots = { version = "0.19", optional = true }
[target.'cfg(windows)'.dependencies]
ipconfig = { version = "0.2.0", optional = true }
[dev-dependencies]
env_logger = "0.7"
futures = { version = "0.3.4", default-features = false, features = ["std", "executor"] }