Cargo Features
[dependencies]
hickory-resolver = { version = "0.25.0-alpha.4", default-features = false, features = ["backtrace", "dns-over-native-tls", "dns-over-openssl", "dns-over-rustls", "dns-over-tls", "dns-over-https-rustls", "dns-over-quic", "dns-over-h3", "webpki-roots", "native-certs", "dnssec-openssl", "dnssec-ring", "dnssec", "serde", "system-config", "tokio-runtime", "testing"] }
- default = system-config, tokio-runtime
-
These default features are set whenever
hickory-resolver
is added without
somewhere in the dependency tree.default-features = false - backtrace
-
Enables backtrace, backtrace of hickory-proto
- dns-over-native-tls = dns-over-tls
-
Enables tokio-native-tls, dns-over-native-tls of hickory-proto
- dns-over-openssl = dns-over-tls
-
DNS over TLS with OpenSSL currently needs a good way to set default CAs, use rustls or native-tls
Enables tokio-openssl, dns-over-openssl of hickory-proto
- dns-over-rustls dns-over-h3? dns-over-https-rustls? dns-over-quic? = dns-over-tls
-
Enables rustls and tokio-rustls, dns-over-rustls of hickory-proto
Affects
config::NameServerConfig.tls_config
… - dns-over-tls dns-over-native-tls? dns-over-openssl? dns-over-rustls? = tokio-runtime
- dns-over-https-rustls = dns-over-rustls
-
This requires some TLS library, currently only rustls is supported
Enables dns-over-https-rustls of hickory-proto
- dns-over-quic = dns-over-rustls
-
Enables quinn, dns-over-quic of hickory-proto
- dns-over-h3 = dns-over-rustls
-
Enables quinn, dns-over-h3 of hickory-proto
- webpki-roots
-
Enables webpki-roots, webpki-roots of hickory-proto
- native-certs
-
Enables rustls-native-certs, native-certs of hickory-proto
- dnssec-openssl = dnssec
-
Enables dnssec-openssl of hickory-proto
- dnssec-ring = dnssec
-
Enables dnssec-ring of hickory-proto
- dnssec dnssec-openssl? dnssec-ring?
-
Affects
lookup::DnssecIter
,lookup::DnssecLookupRecordIter
,resolver::testing.sec_lookup_test
,resolver::testing.sec_lookup_fails_test
… - serde
-
Enables serde, serde of hickory-proto
- system-config default
-
Enables ipconfig and resolv-conf
Affects
resolver::testing.system_lookup_test
,resolver::testing.hosts_lookup_test
… - tokio-runtime default dns-over-tls?
-
Enables tokio-runtime of hickory-proto and rt of tokio
tokio:
Includes basic task execution capabilities
Affects
hickory-resolver::TokioAsyncResolver
,connection_provider::TokioConnectionProvider
,resolver::TokioResolver
… - testing
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.