Cargo Features

[dependencies]
hickory-proto = { version = "0.24.0", default-features = false, features = ["dns-over-tls", "dns-over-rustls", "dns-over-native-tls", "dns-over-openssl", "dns-over-https-rustls", "dns-over-https", "dns-over-quic", "dns-over-h3", "native-certs", "dnssec-openssl", "dnssec-ring", "dnssec", "text-parsing", "tokio-runtime", "serde-config", "testing", "mdns", "wasm-bindgen", "backtrace", "webpki-roots"] }
default = tokio-runtime

The tokio-runtime feature is set by default whenever hickory-proto is added without default-features = false somewhere in the dependency tree.

dns-over-tls dns-over-native-tls? dns-over-openssl? dns-over-rustls?
dns-over-rustls dns-over-https? dns-over-quic? = dns-over-tls, rustls, rustls-pemfile, tokio-runtime, tokio-rustls

Affects hickory-proto::rustls

dns-over-native-tls = dns-over-tls, native-tls, tokio-native-tls, tokio-runtime

Affects hickory-proto::native_tls

dns-over-openssl = dns-over-tls, openssl, tokio-openssl, tokio-runtime

Affects hickory-proto::openssl

dns-over-https-rustls = dns-over-https
dns-over-https dns-over-https-rustls? = bytes, dns-over-rustls, h2, http, tokio-runtime

Affects hickory-proto::h2, hickory-proto::http

dns-over-quic dns-over-h3? = bytes, dns-over-rustls, quinn, tokio-runtime

Enables quic of rustls ^0.21.6

Affects hickory-proto::quic

dns-over-h3 = dns-over-quic, h3, h3-quinn, http, quinn

Affects hickory-proto::h3, hickory-proto::http

native-certs

Enables rustls-native-certs ^0.6.3

dnssec-openssl = dnssec, openssl
dnssec-ring = dnssec, ring
dnssec dnssec-openssl? dnssec-ring?

Affects signer::SigSigner, rr::dnssec, rr_set::RecordsAndRrsigsIter, xfer::dnssec_dns_handle

text-parsing

Affects serialize::txt

tokio-runtime default dns-over-https? dns-over-native-tls? dns-over-openssl? dns-over-quic? dns-over-rustls?

Enables net, rt, rt-multi-thread and time of tokio

Affects hickory-proto::iocompat, tcp::tokio, hickory-proto::quic

serde-config = serde

Enables serde of url

testing
mdns

enables experimental the mDNS (multicast) feature

Enables all of socket2

Affects hickory-proto::multicast, query::QueryParts.mdns_unicast_response, resource::RecordParts.mdns_cache_flush

wasm-bindgen = js-sys, wasm-bindgen-crate
backtrace

Enables backtrace

Affects error::ENABLE_BACKTRACE, error::ProtoError.backtrack

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bytes dns-over-https? dns-over-quic?
h2 dns-over-https?

Enables h2 ^0.3.0

h3 dns-over-h3?

Enables h3 ^0.0.2

h3-quinn dns-over-h3?

Enables h3-quinn ^0.0.3

http dns-over-h3? dns-over-https?

Enables http ^0.2

js-sys wasm-bindgen?
native-tls dns-over-native-tls?
openssl dns-over-openssl? dnssec-openssl?

Affects public_key::Ec, public_key::dnssec_ecdsa_signature_to_der, public_key::Rsa

quinn dns-over-h3? dns-over-quic?
ring dnssec-ring?

Enables ring ^0.16

Affects public_key::Ec, public_key::Ed25519, public_key::Rsa

rustls dns-over-quic? dns-over-rustls?

Enables rustls ^0.21.6

rustls-pemfile dns-over-rustls?

Enables rustls-pemfile ^1.0.0

serde serde-config?
socket2 mdns?
tokio tokio-runtime
tokio-native-tls dns-over-native-tls?
tokio-openssl dns-over-openssl?
tokio-rustls dns-over-rustls?

Enables tokio-rustls ^0.24.0

wasm-bindgen-crate wasm-bindgen?

Enables wasm-bindgen

webpki-roots implicit feature

Enables webpki-roots ^0.25.0

webpki-roots:

Mozilla's CA root certificates for use with webpki