Crate features / hickory-proto
Feature flags · hickory-proto 0.26.3 · from crates.io 2026-10-24
hickory-proto features: what each one does, and the line to copy
Short answerhickory-proto 0.26.3 has 10 features. By default it turns on std; 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 | dep:bitflags, dep:rustls-pki-types, dep:time, std | |
access-control | std, dep:prefix-trie | |
dnssec-aws-lc-rs | dep:aws-lc-rs, aws-lc-rs/aws-lc-sys, aws-lc-rs/ring-io, __dnssec | |
dnssec-ring | dep:ring, __dnssec | |
mdns | nothing else (a switch the code checks) | |
no-std-rand | once_cell/critical-section, dep:critical-section | |
serde | dep:serde, std, url/serde | |
std | yes | data-encoding/std, ipnet/std, rand/std, rand/thread_rng, ring?/std, thiserror/std, tracing/std, url/std |
testing | std | |
wasm-bindgen | dep:wasm-bindgen-crate, dep:js-sys |
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-proto 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-proto --precise <version>, or use resolver 3, which picks compatible versions for you.
More on hickory-proto
Real downloads, dependents and alternatives: hickory-proto crate data (343.2K real downloads a day, 153 dependents).
Security record: hickory-proto advisories.
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on ithickory-proto crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?