Cargo Features
[dependencies]
hickory-proto = { version = "0.25.0-alpha.2", 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", "dnssec-openssl", "dnssec-ring", "text-parsing", "tokio-runtime", "serde-config", "testing", "mdns", "wasm-bindgen", "backtrace", "webpki-roots"] }
- default = tokio-runtime
-
The
tokio-runtime
feature is set by default wheneverhickory-proto
is added without
somewhere in the dependency tree.default-features = false - 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, tokio-runtime
-
Enables rustls-pemfile and tokio-rustls, ring of rustls
Affects
hickory-proto::rustls
… - dns-over-native-tls = dns-over-tls, tokio-runtime
-
Enables native-tls and tokio-native-tls
Affects
hickory-proto::native_tls
… - dns-over-openssl = dns-over-tls, tokio-runtime
-
Enables openssl and tokio-openssl
Affects
hickory-proto::openssl
… - dns-over-https-rustls = dns-over-https
- dns-over-https dns-over-https-rustls? = dns-over-rustls, tokio-runtime
-
Affects
hickory-proto::h2
,hickory-proto::http
… - dns-over-quic dns-over-h3? = dns-over-rustls, tokio-runtime
-
Enables bytes, pin-project-lite, and quinn
Affects
hickory-proto::quic
… - dns-over-h3 = dns-over-quic
-
Enables h3 ^0.0.5, h3-quinn ^0.0.6, http, and quinn
Affects
hickory-proto::h3
,hickory-proto::http
… - native-certs
-
Enables rustls-native-certs ^0.7
- dnssec dnssec-openssl? dnssec-ring?
-
Enables bitflags
Affects
signer::SigSigner
,rr::dnssec
,resource::RecordParts.proof
,rr_set::RecordsAndRrsigsIter
,txt::trust_anchor
,xfer::dnssec_dns_handle
… - dnssec-openssl = dnssec
-
Enables openssl
Affects
public_key::Ec
,public_key::dnssec_ecdsa_signature_to_der
,public_key::Rsa
… - dnssec-ring = dnssec
-
Enables ring
Affects
public_key::Ec
,public_key::Ed25519
,public_key::Rsa
… - 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
- testing
- mdns
-
enables experimental the mDNS (multicast) feature
Affects
hickory-proto::multicast
,query::QueryParts.mdns_unicast_response
,resource::RecordParts.mdns_cache_flush
… - wasm-bindgen
-
Enables js-sys and wasm-bindgen
- 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.
- rustls dns-over-rustls?
- socket2 mdns?
- tokio tokio-runtime
- webpki-roots implicit feature
-
Enables webpki-roots
webpki-roots:
Mozilla's CA root certificates for use with webpki