hickory-resolver 0.25.0-alpha.2

Hickory 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
[badges.codecov]
branch = "main"
repository = "hickory-dns/hickory-dns"
service = "github"

[badges.maintenance]
status = "actively-developed"

[dependencies.backtrace]
optional = true
version = "0.3.50"

[dependencies.cfg-if]
version = "1"

[dependencies.futures-util]
default-features = false
features = ["std"]
version = "0.3.5"

[dependencies.hickory-proto]
default-features = false
version = "0.25.0-alpha.2"

[dependencies.lru-cache]
version = "0.1.2"

[dependencies.once_cell]
version = "1.18.0"

[dependencies.parking_lot]
version = "0.12"

[dependencies.quinn]
default-features = false
features = ["log", "runtime-tokio", "rustls"]
optional = true
version = "0.11.2"

[dependencies.rand]
version = "0.8"

[dependencies.resolv-conf]
features = ["system"]
optional = true
version = "0.7.0"

[dependencies.rustls]
default-features = false
features = ["logging", "std", "tls12"]
optional = true
version = "0.23"

[dependencies.rustls-native-certs]
optional = true
version = "0.7"

[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.21"

[dependencies.tokio-native-tls]
optional = true
version = "0.3.0"

[dependencies.tokio-openssl]
optional = true
version = "0.6.0"

[dependencies.tokio-rustls]
default-features = false
optional = true
version = "0.26"

[dependencies.tracing]
version = "0.1.30"

[dependencies.webpki-roots]
optional = true
version = "0.26"

[dev-dependencies.futures-executor]
default-features = false
features = ["std"]
version = "0.3.5"

[dev-dependencies.tokio]
features = ["macros", "test-util"]
version = "1.21"

[dev-dependencies.tracing-subscriber]
features = ["std", "fmt", "env-filter"]
version = "0.3"

[[example]]
name = "custom_provider"
path = "examples/custom_provider.rs"
required-features = ["tokio-runtime"]

[[example]]
name = "flush_cache"
path = "examples/flush_cache.rs"
required-features = ["tokio-runtime", "system-config"]

[[example]]
name = "global_resolver"
path = "examples/global_resolver.rs"
required-features = ["tokio-runtime", "system-config"]

[[example]]
name = "multithreaded_runtime"
path = "examples/multithreaded_runtime.rs"
required-features = ["tokio-runtime", "system-config"]

[features]
backtrace = ["dep:backtrace", "hickory-proto/backtrace"]
default = ["system-config", "tokio-runtime"]
dns-over-h3 = ["dep:quinn", "dns-over-rustls", "hickory-proto/dns-over-h3"]
dns-over-https = ["hickory-proto/dns-over-https"]
dns-over-https-rustls = ["hickory-proto/dns-over-https-rustls", "dns-over-rustls", "dns-over-https"]
dns-over-native-tls = ["dns-over-tls", "dep:tokio-native-tls", "hickory-proto/dns-over-native-tls"]
dns-over-openssl = ["dns-over-tls", "hickory-proto/dns-over-openssl", "dep:tokio-openssl"]
dns-over-quic = ["dep:quinn", "dns-over-rustls", "hickory-proto/dns-over-quic"]
dns-over-rustls = ["dns-over-tls", "dep:rustls", "dep:tokio-rustls", "hickory-proto/dns-over-rustls"]
dns-over-tls = ["tokio-runtime"]
dnssec = []
dnssec-openssl = ["dnssec", "hickory-proto/dnssec-openssl"]
dnssec-ring = ["dnssec", "hickory-proto/dnssec-ring"]
native-certs = ["dep:rustls-native-certs", "hickory-proto/native-certs"]
serde-config = ["dep:serde", "hickory-proto/serde-config"]
system-config = ["dep:ipconfig", "dep:resolv-conf"]
testing = []
tokio-runtime = ["tokio/rt", "hickory-proto/tokio-runtime"]
webpki-roots = ["dep:webpki-roots", "hickory-proto/webpki-roots"]

[lib]
name = "hickory_resolver"
path = "src/lib.rs"

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(nightly)"]
level = "warn"
priority = 0

[package]
authors = ["The contributors to Hickory DNS"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["network-programming"]
description = """
Hickory 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/hickory-resolver"
edition = "2021"
homepage = "https://hickory-dns.org/"
keywords = ["DNS", "BIND", "dig", "named", "dnssec"]
license = "MIT OR Apache-2.0"
name = "hickory-resolver"
readme = "README.md"
repository = "https://github.com/hickory-dns/hickory-dns"
rust-version = "1.70"
version = "0.25.0-alpha.2"

[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"