Crate features / curve25519-dalek
Feature flags · curve25519-dalek 5.0.0 · from crates.io 2026-10-24
curve25519-dalek features: what each one does, and the line to copy
Short answercurve25519-dalek 5.0.0 has 7 features. By default it turns on alloc, precomputed-tables, zeroize; add default-features = false to start from nothing. It needs Rust 1.85.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | yes | zeroize?/alloc |
digest | dep:digest | |
group | dep:group, rand_core | |
legacy_compatibility | nothing else (a switch the code checks) | |
lizard | digest | |
precomputed-tables | yes | nothing else (a switch the code checks) |
rand_core | dep:rand_core, digest/rand_core |
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 curve25519-dalek declares (rust-version), and the release that changed it:
- 4.0.0-pre.3 (2022-12-13): Rust 1.56.1
- 4.0.0-rc.0 (2023-01-28): Rust 1.60.0
- 5.0.0-pre.0 (2025-07-09): Rust 1.85.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p curve25519-dalek --precise <version>, or use resolver 3, which picks compatible versions for you.
More on curve25519-dalek
Real downloads, dependents and alternatives: curve25519-dalek crate data (874.9K real downloads a day, 640 dependents).
Security record: curve25519-dalek advisories.
docs.rs feature list · crates.io · license BSD-3-Clause · edition 2024
Up next
Before you depend on itcurve25519-dalek crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?