Cargo Features
[dependencies]
p256 = { version = "0.14.0-pre.0", default-features = false, features = ["std", "alloc", "arithmetic", "bits", "digest", "ecdh", "ecdsa", "expose-field", "hash2curve", "jwk", "pem", "pkcs8", "serde", "sha256", "voprf", "test-vectors"] }
- default = arithmetic, ecdsa, pem, std
-
These default features are set whenever
p256
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of optional ecdsa =0.17.0-pre.4 and elliptic-curve =0.14.0-pre.3
ecdsa:
optional dependencies
- alloc std
-
Enables alloc of optional ecdsa =0.17.0-pre.4, elliptic-curve =0.14.0-pre.3, and optional primeorder
- arithmetic default bits? ecdh? ecdsa expose-field? hash2curve?
-
Enables primeorder, arithmetic of elliptic-curve =0.14.0-pre.3
Affects
p256::BlindedScalar
,p256::NonZeroScalar
,p256::PublicKey
… - bits = arithmetic
-
Enables bits of elliptic-curve =0.14.0-pre.3
Affects
p256::ScalarBits
… - digest sha256?
-
Enables digest and hazmat of ecdsa =0.17.0-pre.4
- ecdh = arithmetic
-
Enables ecdh of elliptic-curve =0.14.0-pre.3
Affects
p256::ecdh
… - ecdsa default = arithmetic, sha256
-
Enables signing and verifying of ecdsa =0.17.0-pre.4
Affects
ecdsa::SigningKey
,ecdsa::VerifyingKey
… - expose-field = arithmetic
- hash2curve = arithmetic
-
Enables hash2curve of elliptic-curve =0.14.0-pre.3
- jwk
-
Enables jwk of elliptic-curve =0.14.0-pre.3
- pem default = pkcs8
-
Enables pem of ecdsa =0.17.0-pre.4 and elliptic-curve =0.14.0-pre.3
- pkcs8 pem
-
Enables pkcs8 of optional ecdsa =0.17.0-pre.4 and elliptic-curve =0.14.0-pre.3
- serde = serdect
-
Enables serde of optional ecdsa =0.17.0-pre.4, elliptic-curve =0.14.0-pre.3, and optional primeorder
- sha256 ecdsa = digest, sha2
- voprf = sha2
-
Enables voprf of elliptic-curve =0.14.0-pre.3
- test-vectors
-
Enables hex-literal
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- ecdsa-core digest? ecdsa pem
-
Enables ecdsa =0.17.0-pre.4
Affects
p256::ecdsa
… - serdect serde?
- sha2 sha256? voprf?
-
Enables sha2 =0.11.0-pre.2