nsproxy-hickory-resolver 0.25.4

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 for supported resolution types. The Client can be used for other queries.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.71.1"
name = "nsproxy-hickory-resolver"
version = "0.25.4"
authors = ["The contributors to Hickory DNS"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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 for supported resolution types. The Client can be used for other queries.
"""
homepage = "https://hickory-dns.org/"
documentation = "https://docs.rs/hickory-resolver"
readme = "README.md"
keywords = [
    "dns",
    "dnssec",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hickory-dns/hickory-dns"

[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = [
    "x86_64-apple-darwin",
    "x86_64-pc-windows-msvc",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.cargo-all-features]
skip_optional_dependencies = true
max_combination_size = 2
denylist = [
    "__tls",
    "__https",
    "__quic",
    "__h3",
    "__dnssec",
]

[features]
__dnssec = []
__h3 = ["__quic"]
__https = ["__tls"]
__quic = [
    "dep:quinn",
    "__tls",
]
__tls = [
    "dep:rustls",
    "dep:tokio-rustls",
    "tokio",
]
backtrace = [
    "dep:backtrace",
    "nsproxy-hickory-proto/backtrace",
]
default = [
    "system-config",
    "tokio",
]
dnssec-aws-lc-rs = [
    "nsproxy-hickory-proto/dnssec-aws-lc-rs",
    "__dnssec",
]
dnssec-ring = [
    "nsproxy-hickory-proto/dnssec-ring",
    "__dnssec",
]
h3-aws-lc-rs = [
    "nsproxy-hickory-proto/h3-aws-lc-rs",
    "__h3",
]
h3-ring = [
    "nsproxy-hickory-proto/h3-ring",
    "__h3",
]
https-aws-lc-rs = [
    "nsproxy-hickory-proto/https-aws-lc-rs",
    "__https",
]
https-ring = [
    "nsproxy-hickory-proto/https-ring",
    "__https",
]
quic-aws-lc-rs = [
    "nsproxy-hickory-proto/quic-aws-lc-rs",
    "__quic",
    "quinn/rustls-aws-lc-rs",
]
quic-ring = [
    "nsproxy-hickory-proto/quic-ring",
    "__quic",
    "quinn/rustls-ring",
]
rustls-platform-verifier = ["nsproxy-hickory-proto/rustls-platform-verifier"]
serde = [
    "dep:serde",
    "nsproxy-hickory-proto/serde",
]
system-config = [
    "dep:ipconfig",
    "dep:resolv-conf",
]
tls-aws-lc-rs = [
    "nsproxy-hickory-proto/tls-aws-lc-rs",
    "__tls",
]
tls-ring = [
    "nsproxy-hickory-proto/tls-ring",
    "__tls",
]
tokio = [
    "dep:tokio",
    "tokio/rt",
    "nsproxy-hickory-proto/tokio",
]
webpki-roots = [
    "dep:webpki-roots",
    "nsproxy-hickory-proto/webpki-roots",
]

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

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

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

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

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

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

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

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

[dependencies.moka]
version = "0.12"
features = ["sync"]

[dependencies.nsproxy-hickory-proto]
version = "0.25"
features = ["std"]
default-features = false

[dependencies.once_cell]
version = "1.20.0"
features = ["critical-section"]
default-features = false

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.rand]
version = "0.9"
features = ["alloc"]
default-features = false

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

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

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.smallvec]
version = "1.6"

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tokio]
version = "1.21"
optional = true

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

[dependencies.tracing]
version = "0.1.30"
default-features = false

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

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

[dev-dependencies.serde_json]
version = "1"

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

[dev-dependencies.toml]
version = "0.8.14"

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

[target."cfg(windows)".dependencies.ipconfig]
version = "0.3.0"
optional = true

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