Cargo Features
[dependencies]
p256_flow = { version = "1.0.0", default-features = false, features = ["arithmetic", "bits", "digest", "ecdh", "ecdsa", "jwk", "pem", "pkcs8", "sha256", "std", "test-vectors"] }
- default = arithmetic, ecdsa, pkcs8, sha256, std
-
These default features are set whenever
p256_flow
is added without
somewhere in the dependency tree.default-features = false - arithmetic default bits? ecdh? ecdsa
-
Enables arithmetic of elliptic-curve-flow
Affects
p256_flow::NonZeroScalar
,p256_flow::PublicKey
… - bits = arithmetic
-
Enables bits of elliptic-curve-flow
Affects
p256_flow::ScalarBits
… - digest sha256
-
Enables digest and hazmat of ecdsa-flow
optional dependencies
- ecdh = arithmetic
-
Enables ecdh of elliptic-curve-flow
Affects
p256_flow::ecdh
… - ecdsa default = arithmetic, sha256
-
Enables sign and verify of ecdsa-flow
Affects
ecdsa::SigningKey
,ecdsa::VerifyingKey
… - jwk
-
Enables jwk of elliptic-curve-flow
- pem = pkcs8
-
Enables pem of elliptic-curve-flow
- pkcs8 default pem?
-
Enables pkcs8 of elliptic-curve-flow
- sha256 default ecdsa = digest
- std default
-
TODO: use weak activation for
ecdsa-core/std
when availableEnables std of ecdsa-flow and elliptic-curve-flow
- 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 std
-
Enables ecdsa-flow
Affects
p256_flow::ecdsa
… - hex-literal test-vectors?
-
Enables hex-literal ^0.3