Cargo Features
[dependencies]
p256k = { version = "0.0.1-alpha", default-features = false, features = ["std", "alloc", "arithmetic", "bits", "critical-section", "digest", "ecdh", "ecdsa", "expose-field", "hash2curve", "jwk", "pem", "pkcs8", "precomputed-tables", "schnorr", "serde", "sha256", "test-vectors"] }
- default = arithmetic, ecdsa, pkcs8, precomputed-tables, schnorr, std
-
These default features are set whenever
p256k
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of optional ecdsa =0.17.0-pre.7, elliptic-curve =0.14.0-pre.6, and optional once_cell
once_cell:
optional dependencies
- alloc std
-
Enables alloc of optional ecdsa =0.17.0-pre.7 and elliptic-curve =0.14.0-pre.6
- arithmetic default bits? ecdh? ecdsa expose-field? hash2curve? precomputed-tables schnorr
-
Enables arithmetic of elliptic-curve =0.14.0-pre.6
Affects
p256k::NonZeroScalar
,p256k::PublicKey
… - bits = arithmetic
-
Enables bits of elliptic-curve =0.14.0-pre.6
Affects
p256k::ScalarBits
… - critical-section = precomputed-tables
-
Enables critical-section of once_cell
- digest sha256?
-
Enables digest and hazmat of ecdsa =0.17.0-pre.7
- ecdh = arithmetic
-
Enables ecdh of elliptic-curve =0.14.0-pre.6
Affects
p256k::ecdh
… - ecdsa default = arithmetic, sha256
-
Enables signing and verifying of ecdsa =0.17.0-pre.7
Affects
ecdsa::SigningKey
,ecdsa::VerifyingKey
… - expose-field = arithmetic
- hash2curve = arithmetic
-
Enables hash2curve of elliptic-curve =0.14.0-pre.6
- jwk
-
Enables jwk of elliptic-curve =0.14.0-pre.6
- pem = pkcs8
-
Enables pem of ecdsa =0.17.0-pre.7 and elliptic-curve =0.14.0-pre.6
- pkcs8 default pem?
-
Enables pkcs8 of ecdsa =0.17.0-pre.7 and elliptic-curve =0.14.0-pre.6
- precomputed-tables default critical-section? = arithmetic, once_cell
- schnorr default = arithmetic, sha256, signature
-
Affects
p256k::schnorr
… - serde = serdect
-
Enables serde of ecdsa =0.17.0-pre.7 and elliptic-curve =0.14.0-pre.6
- sha256 ecdsa schnorr = 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.
- once_cell critical-section? precomputed-tables
- ecdsa-core digest? ecdsa pem? pkcs8 serde?
-
Enables ecdsa =0.17.0-pre.7
Affects
p256k::ecdsa
… - hex-literal test-vectors?
- serdect serde?
- sha2 sha256?
- signature schnorr