Cargo Features
[dependencies]
p224 = { version = "0.14.0-rc.8", default-features = false, features = ["std", "alloc", "arithmetic", "bits", "digest", "ecdh", "ecdsa", "getrandom", "pem", "pkcs8", "serde", "sha224", "test-vectors"] }
- default = arithmetic, ecdsa, pem, std
-
These default features are set whenever
p224is added withoutsomewhere in the dependency tree.default-features = false - std default = alloc, getrandom
-
Enables std of elliptic-curve
- alloc std
-
Enables alloc of elliptic-curve and optional primeorder
- arithmetic default bits? ecdh? ecdsa
-
Enables primefield and primeorder, arithmetic of elliptic-curve
Affects
p224::BlindedScalar,p224::NonZeroScalar,p224::PublicKey… - bits = arithmetic
-
Enables bits of elliptic-curve
Affects
p224::ScalarBits… - digest sha224?
-
Enables digest and hazmat of ecdsa
optional dependencies
- ecdh = arithmetic
-
Enables ecdh of elliptic-curve
Affects
p224::ecdh… - ecdsa default = arithmetic, sha224
-
Affects
ecdsa::SigningKey,ecdsa::VerifyingKey… - getrandom std
-
Enables getrandom of optional ecdsa and elliptic-curve
- pem default = pkcs8
-
Enables pem of elliptic-curve
- pkcs8 pem
-
Enables pkcs8 of optional ecdsa and elliptic-curve
- serde = serdect
-
Enables serde of optional ecdsa, elliptic-curve, and optional primeorder
- sha224 ecdsa = digest, sha2
- 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.