Crate features / p384
Feature flags · p384 0.14.0 · from crates.io 2026-10-24
p384 features: what each one does, and the line to copy
Short answerp384 0.14.0 has 16 features. By default it turns on arithmetic, ecdsa, pem, precomputed-tables, std; 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 | ecdsa-core?/alloc, elliptic-curve/alloc, primeorder?/alloc | |
arithmetic | yes | dep:primefield, dep:primeorder, elliptic-curve/arithmetic, elliptic-curve/digest |
digest | ecdsa-core/digest | |
ecdh | arithmetic, elliptic-curve/ecdh | |
ecdsa | yes | arithmetic, ecdsa-core/algorithm, sha384 |
getrandom | ecdsa-core?/getrandom, elliptic-curve/getrandom | |
group-digest | hash2curve, sha2 | |
hash2curve | arithmetic, dep:hash2curve, primeorder/hash2curve | |
oprf | group-digest | |
pem | yes | elliptic-curve/pem, ecdsa-core/pem, pkcs8 |
pkcs8 | ecdsa-core/pkcs8, elliptic-curve/pkcs8 | |
precomputed-tables | yes | arithmetic, primeorder/basepoint-table |
serde | ecdsa-core?/serde, elliptic-curve/serde, primeorder?/serde, serdect | |
sha384 | digest, sha2 | |
std | yes | alloc, ecdsa-core?/std, elliptic-curve/std, getrandom, primeorder?/std |
test-vectors | hex-literal |
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 p384 declares (rust-version), and the release that changed it:
- 0.9.0 (2021-12-14): Rust 1.56
- 0.10.0 (2022-05-09): Rust 1.57
- 0.12.0 (2023-01-17): Rust 1.60
- 0.13.0 (2023-03-03): Rust 1.65
- 0.14.0-pre.1 (2024-07-27): Rust 1.73
- 0.13.1 (2025-02-07): Rust 1.65
- 0.14.0-pre.3 (2025-05-29): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p p384 --precise <version>, or use resolver 3, which picks compatible versions for you.
More on p384
Real downloads, dependents and alternatives: p384 crate data (391.8K real downloads a day, 378 dependents).
docs.rs feature list · crates.io · license Apache-2.0 OR MIT · edition 2024
Up next
Before you depend on itp384 crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?