Cargo Features

[dependencies]
hickory-dns = { version = "0.25.1", default-features = false, features = ["ascii-art", "blocklist", "recursor", "resolver", "sqlite", "tls-aws-lc-rs", "https-aws-lc-rs", "quic-aws-lc-rs", "h3-aws-lc-rs", "tls-ring", "https-ring", "quic-ring", "h3-ring", "dnssec-aws-lc-rs", "dnssec-ring", "webpki-roots", "rustls-platform-verifier"] }
default = ascii-art, resolver, rustls-platform-verifier, 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

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)

tls-aws-lc-rs https-aws-lc-rs? quic-aws-lc-rs?

Enables rustls, tls-aws-lc-rs of hickory-server

https-aws-lc-rs = tls-aws-lc-rs

Enables https-aws-lc-rs of hickory-server

quic-aws-lc-rs h3-aws-lc-rs? = tls-aws-lc-rs

Enables quic-aws-lc-rs of hickory-server

h3-aws-lc-rs = quic-aws-lc-rs

Enables h3-aws-lc-rs of hickory-server

tls-ring https-ring? quic-ring?

Enables rustls, tls-ring of hickory-server

https-ring = tls-ring

Enables https-ring of hickory-server

quic-ring h3-ring? = tls-ring

Enables quic-ring of hickory-server

h3-ring = quic-ring

Enables h3-ring of hickory-server

dnssec-aws-lc-rs = __dnssec

Enables rustls-pki-types, dnssec-aws-lc-rs of hickory-server

dnssec-ring = __dnssec

Enables rustls-pki-types, dnssec-ring of hickory-server

webpki-roots

Enables webpki-roots of hickory-server

rustls-platform-verifier default

Enables rustls-platform-verifier of hickory-server

__dnssec dnssec-aws-lc-rs? dnssec-ring?

Affects hickory-dns::dnssec, hickory-dns::ServerZoneConfig.keys, hickory-dns::ServerZoneConfig.nx_proof_kind