Cargo Features
[dependencies]
p384 = { version = "0.14.0-rc.0", default-features = false, features = ["std", "alloc", "arithmetic", "bits", "digest", "ecdh", "ecdsa", "expose-field", "hash2curve", "group-digest", "oprf", "pem", "pkcs8", "serde", "sha384", "test-vectors"] }
- default = arithmetic, ecdsa, pem, std
-
These default features are set whenever
p384is added withoutsomewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of optional ecdsa and elliptic-curve
ecdsa:
optional dependencies
- alloc std
-
Enables alloc of optional ecdsa, elliptic-curve, and optional primeorder
- arithmetic default bits? ecdh? ecdsa expose-field? hash2curve?
-
Enables primefield and primeorder, arithmetic and digest of elliptic-curve
Affects
p384::NonZeroScalar,p384::PublicKey… - bits = arithmetic
-
Enables bits of elliptic-curve
Affects
p384::ScalarBits… - digest sha384?
- ecdh = arithmetic
-
Enables ecdh of elliptic-curve
Affects
p384::ecdh… - ecdsa default = arithmetic, sha384
-
Affects
ecdsa::SigningKey,ecdsa::VerifyingKey… - expose-field = arithmetic
- hash2curve group-digest? = arithmetic
-
Enables hash2curve, hash2curve of primeorder
- group-digest oprf? = hash2curve, sha2
- oprf = group-digest
- pem default = pkcs8
-
Enables pem of ecdsa and elliptic-curve
- pkcs8 pem
-
Enables pkcs8 of ecdsa and elliptic-curve
- serde = serdect
-
Enables serde of optional ecdsa, elliptic-curve, and optional primeorder
- sha384 ecdsa = digest, sha2
- test-vectors = 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 pkcs8?
-
Enables ecdsa
Affects
p384::ecdsa… - hex-literal test-vectors?
- serdect serde?
- sha2 group-digest? sha384?