Crate features / hickory-resolver
Feature flags · hickory-resolver 0.26.3 · from crates.io 2026-10-24
hickory-resolver features: what each one does, and the line to copy
Short answerhickory-resolver 0.26.3 has 23 features. By default it turns on system-config, tokio; add default-features = false to start from nothing. It needs Rust 1.88 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
__dnssec | nothing else (a switch the code checks) | |
__h3 | __quic | |
__https | __tls | |
__quic | dep:quinn, __tls | |
__tls | dep:rustls, dep:tokio-rustls, tokio | |
dnssec-aws-lc-rs | hickory-proto/dnssec-aws-lc-rs, hickory-net/dnssec-aws-lc-rs, __dnssec | |
dnssec-ring | hickory-proto/dnssec-ring, hickory-net/dnssec-ring, __dnssec | |
h3-aws-lc-rs | hickory-net/h3-aws-lc-rs, __h3 | |
h3-ring | hickory-net/h3-ring, __h3 | |
https-aws-lc-rs | hickory-net/https-aws-lc-rs, __https | |
https-ring | hickory-net/https-ring, __https | |
metrics | dep:metrics | |
quic-aws-lc-rs | hickory-net/quic-aws-lc-rs, __quic, quinn/rustls-aws-lc-rs | |
quic-ring | hickory-net/quic-ring, __quic, quinn/rustls-ring | |
recursor | dep:async-recursion, dep:lru-cache | |
rustls-platform-verifier | hickory-net/rustls-platform-verifier | |
serde | dep:serde, hickory-proto/serde | |
system-config | yes | dep:ipconfig, dep:resolv-conf, dep:jni, dep:ndk-context, dep:system-configuration |
tls-aws-lc-rs | hickory-net/tls-aws-lc-rs, __tls | |
tls-ring | hickory-net/tls-ring, __tls | |
tokio | yes | dep:tokio, tokio/rt, hickory-net/tokio |
toml | dep:toml | |
webpki-roots | dep:webpki-roots, hickory-net/webpki-roots |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version hickory-resolver declares (rust-version), and the release that changed it:
- 0.24.0 (2023-10-14): Rust 1.67.0
- 0.25.0-alpha.2 (2024-08-06): Rust 1.70
- 0.25.0-alpha.4 (2024-11-28): Rust 1.71.1
- 0.26.0-beta.1 (2026-03-12): Rust 1.88
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p hickory-resolver --precise <version>, or use resolver 3, which picks compatible versions for you.
More on hickory-resolver
Real downloads, dependents and alternatives: hickory-resolver crate data (330.2K real downloads a day, 512 dependents).
Security record: hickory-resolver advisories.
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on ithickory-resolver crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?