Cargo Features
[dependencies]
hickory-proto = { version = "0.25.0-alpha.3", default-features = false, features = ["dns-over-tls", "dns-over-rustls", "dns-over-native-tls", "dns-over-openssl", "dns-over-https-rustls", "dns-over-quic", "dns-over-h3", "native-certs", "dnssec", "dnssec-openssl", "dnssec-ring", "text-parsing", "tokio-runtime", "serde", "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-rustls? dns-over-quic? = dns-over-tls, tokio-runtime
-
Enables 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-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
,runtime::QuicSocketBinder
… - dns-over-h3 = dns-over-quic
-
Enables h3, h3-quinn, http, and quinn
Affects
hickory-proto::h3
,hickory-proto::http
,runtime::QuicSocketBinder
… - native-certs
-
Enables rustls-native-certs ^0.7
- dnssec dnssec-openssl? dnssec-ring?
-
Affects
error::DnsSecResult
,error::DnsSecErrorKind
,error::DnsSecError
,signer::SigSigner
,rr::dnssec
,resource::RecordParts.proof
,rr_set::RecordsAndRrsigsIter
,txt::trust_anchor
,xfer::dnssec_dns_handle
… - dnssec-openssl = dnssec
-
Enables openssl
Affects
keypair::RsaSigningKey
,keypair::EcSigningKey
,public_key::Ec
,public_key::dnssec_ecdsa_signature_to_der
,public_key::Rsa
… - dnssec-ring = dnssec
-
Enables ring
Affects
keypair::EcdsaSigningKey
,keypair::Ed25519SigningKey
,public_key::Ec
,public_key::Ed25519
,public_key::Rsa
… - text-parsing
-
Affects
serialize::txt
… - tokio-runtime default dns-over-https-rustls? dns-over-native-tls? dns-over-openssl? dns-over-quic? dns-over-rustls?
-
Enables net, rt, rt-multi-thread and time of tokio
Affects
runtime::iocompat
,hickory-proto::quic
… - serde
- 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