Cargo Features

[dependencies]
hickory-dns = { version = "0.24.0", default-features = false, features = ["ascii-art", "dnssec-openssl", "dnssec-ring", "dnssec", "recursor", "resolver", "sqlite", "dns-over-https-rustls", "dns-over-https", "dns-over-quic", "dns-over-h3", "dns-over-openssl", "dns-over-rustls", "dns-over-tls", "tls-openssl", "tls", "webpki-roots", "native-certs"] }
default = ascii-art, native-certs, resolver, sqlite

These default features are set whenever hickory-dns is added without default-features = false somewhere in the dependency tree.

ascii-art default

if enabled, the hickory-dns binary will print ascii-art on start, disable to reduce the binary size

dnssec-openssl dns-over-openssl? = dnssec

Enables dnssec-openssl of hickory-client, hickory-proto, and hickory-server

dnssec-ring dns-over-rustls? = dnssec

Enables dnssec-ring of hickory-client, hickory-proto, and hickory-server

dnssec dnssec-openssl? dnssec-ring?
recursor

Enables recursor of hickory-server

hickory-server:

Recursive Resolution is Experimental!

resolver default

Recursive Resolution is Experimental!

Enables resolver of hickory-server

sqlite default

Enables sqlite of hickory-server

dns-over-https-rustls = dns-over-https, dns-over-rustls

Enables dns-over-https-rustls of hickory-client, hickory-proto, and hickory-server

dns-over-https dns-over-https-rustls?

Enables dns-over-https of hickory-server

dns-over-quic = dns-over-rustls

Enables dns-over-quic of hickory-server

dns-over-h3 = dns-over-rustls

Enables dns-over-h3 of hickory-server

dns-over-openssl tls? tls-openssl? = dns-over-tls, dnssec-openssl

TODO: migrate all tls and tls-openssl features to dns-over-tls, et al

Enables dns-over-openssl of hickory-client, hickory-proto, and hickory-server

dns-over-rustls dns-over-h3? dns-over-https-rustls? dns-over-quic? = dns-over-tls, dnssec-ring, rustls

Enables dns-over-rustls of hickory-client, hickory-proto, and hickory-server

dns-over-tls dns-over-openssl? dns-over-rustls?
tls-openssl = dns-over-openssl

This is a deprecated feature...

tls = dns-over-openssl
webpki-roots

Enables webpki-roots of hickory-client

native-certs default

Enables native-certs of hickory-client

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?

Enables rustls ^0.21.6