Cargo Features
[dependencies]
ecdsa = { version = "0.17.0-pre.9", default-features = false, features = ["std", "alloc", "arithmetic", "dev", "digest", "hazmat", "pkcs8", "pem", "serde", "signing", "verifying", "sha2"] }
- default = digest
-
The
digest
feature is set by default wheneverecdsa
is added without
somewhere in the dependency tree.default-features = false - std = alloc
-
Enables std of elliptic-curve and signature
- alloc std?
-
Enables alloc of elliptic-curve, signature, and spki
- arithmetic dev? signing? verifying?
-
Enables arithmetic of elliptic-curve
Affects
hazmat::sign_prehashed
,hazmat::verify_prehashed
… - dev = arithmetic, digest, hazmat
-
Enables dev of elliptic-curve
Affects
ecdsa::dev
… - digest default dev? pkcs8? signing? verifying?
-
Enables digest, digest of signature
Affects
hazmat::DigestPrimitive
,ecdsa::ECDSA_SHA224_OID
,ecdsa::ECDSA_SHA256_OID
,ecdsa::ECDSA_SHA384_OID
,ecdsa::ECDSA_SHA512_OID
,ecdsa::SignatureWithOid
… - hazmat dev? signing? verifying?
-
Affects
ecdsa::hazmat
… - pkcs8 pem? = der, digest
-
Enables pkcs8 of elliptic-curve
- pem = pkcs8
-
Enables pem of elliptic-curve
- serde = serdect
-
Enables serde of elliptic-curve
- signing = arithmetic, digest, hazmat, rfc6979
- verifying = arithmetic, digest, hazmat
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.