Crate features / elliptic-curve
Feature flags · elliptic-curve 0.14.1 · from crates.io 2026-10-24
elliptic-curve features: what each one does, and the line to copy
Short answerelliptic-curve 0.14.1 has 10 features. By default it turns on arithmetic; 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 | base16ct/alloc, ff?/alloc, group?/alloc, array/alloc, pkcs8?/alloc, sec1?/alloc, zeroize/alloc | |
arithmetic | yes | group |
dev | arithmetic, dep:hex-literal, pem, pkcs8 | |
ecdh | arithmetic, digest, dep:hkdf | |
getrandom | arithmetic, bigint/getrandom, common/getrandom | |
group | dep:group, ff | |
pem | dep:pem-rfc7468, alloc, arithmetic, pkcs8/pem, sec1/pem | |
pkcs8 | dep:pkcs8, sec1 | |
serde | dep:serdect, alloc, pkcs8, sec1/serde | |
std | alloc, pkcs8?/std, sec1?/std |
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 elliptic-curve declares (rust-version), and the release that changed it:
- 0.11.2 (2021-12-03): Rust 1.56
- 0.12.0-pre.0 (2022-01-18): Rust 1.57
- 0.11.10 (2022-01-27): Rust 1.56
- 0.12.0-pre.2 (2022-05-06): Rust 1.57
- 0.13.0-pre.0 (2023-01-27): Rust 1.61
- 0.13.0-rc.0 (2023-02-28): Rust 1.65
- 0.14.0-pre.0 (2024-01-09): Rust 1.73
- 0.14.0-rc.2 (2025-05-29): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p elliptic-curve --precise <version>, or use resolver 3, which picks compatible versions for you.
More on elliptic-curve
Real downloads, dependents and alternatives: elliptic-curve crate data (855.1K real downloads a day, 244 dependents).
docs.rs feature list · crates.io · license Apache-2.0 OR MIT · edition 2024
Up next
Before you depend on itelliptic-curve crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?