Cargo Features
[dependencies]
k256_flow = { version = "1.0.0", default-features = false, features = ["arithmetic", "bits", "digest", "ecdh", "ecdsa", "expose-field", "jwk", "keccak256", "pem", "pkcs8", "sha256", "std", "test-vectors"] }
- default = arithmetic, ecdsa, pkcs8, sha256, std
-
These default features are set whenever
k256_flow
is added without
somewhere in the dependency tree.default-features = false - arithmetic default bits? ecdh? ecdsa expose-field?
-
Enables arithmetic of elliptic-curve-flow
Affects
k256_flow::NonZeroScalar
,k256_flow::PublicKey
… - bits = arithmetic
-
Enables bits of elliptic-curve-flow
Affects
k256_flow::ScalarBits
… - digest ecdsa keccak256? sha256
-
Enables digest and hazmat of ecdsa-flow
optional dependencies
- ecdh = arithmetic
-
Enables ecdh of elliptic-curve-flow
Affects
k256_flow::ecdh
… - ecdsa default = arithmetic, digest
-
Enables sign and verify of ecdsa-flow
- expose-field = arithmetic
- jwk
-
Enables jwk of elliptic-curve-flow
- keccak256 = digest, sha3
- pem = pkcs8
-
Enables pem of elliptic-curve-flow
- pkcs8 default pem?
-
Enables pkcs8 of elliptic-curve-flow
- sha256 default = digest, sha3
- 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
k256_flow::ecdsa
… - hex-literal test-vectors?
-
Enables hex-literal ^0.3
- sha3 keccak256? sha256
-
Enables sha3 ^0.9