Cargo Features

[dependencies]
hickory-dns = { version = "0.25.0-alpha.3", default-features = false, features = ["ascii-art", "blocklist", "dnssec-openssl", "dnssec-ring", "dnssec", "recursor", "resolver", "sqlite", "dns-over-https-rustls", "dns-over-quic", "dns-over-h3", "dns-over-openssl", "dns-over-rustls", "dns-over-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

blocklist

Enables blocklist of hickory-server

dnssec-openssl dns-over-openssl? = dnssec

Enables dnssec-openssl of hickory-server

dnssec-ring dns-over-rustls? = dnssec

Enables dnssec-ring of hickory-server

dnssec dnssec-openssl? dnssec-ring?

Affects hickory-dns::ZoneConfig.nx_proof_kind

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 and rusqlite

rusqlite is actually only needed for test situations, but we need an optional dependency here so we can disable it for MSRV tests (rusqlite only supports latest stable)

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

Enables dns-over-https-rustls 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 = dns-over-tls, dnssec-openssl

Enables dns-over-openssl of hickory-server

Affects dnssec::load_cert

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

Enables rustls, dns-over-rustls of hickory-server

Affects dnssec::load_cert

dns-over-tls dns-over-openssl? dns-over-rustls?
webpki-roots

Enables webpki-roots of hickory-server

native-certs default

Enables native-certs of hickory-server