Crate features / digest
Feature flags · digest 0.11.3 · from crates.io 2026-10-24
digest features: what each one does, and the line to copy
Short answerdigest 0.11.3 has 8 features. By default it turns on block-api; add default-features = false to start from nothing. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | nothing else (a switch the code checks) | |
block-api | yes | dep:block-buffer |
dev | blobby | |
getrandom | common/getrandom, rand_core | |
mac | dep:ctutils | |
oid | dep:const-oid | |
rand_core | common/rand_core | |
zeroize | dep:zeroize, block-buffer?/zeroize |
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 digest declares (rust-version), and the release that changed it:
- 0.11.0-pre (2022-12-19): Rust 1.57
- 0.10.7 (2023-05-19): no rust-version declared
- 0.11.0-pre.1 (2024-01-03): Rust 1.65
- 0.11.0-pre.3 (2024-01-06): Rust 1.71
- 0.11.0-pre.10 (2025-02-22): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p digest --precise <version>, or use resolver 3, which picks compatible versions for you.
More on digest
Real downloads, dependents and alternatives: digest crate data (3.9M real downloads a day, 1,197 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2024
Up next
Before you depend on itdigest crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?