Cargo Features

[dependencies]
earthbucks_ecdsa = { version = "0.8.2", 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 whenever earthbucks_ecdsa is added without default-features = false somewhere in the dependency tree.

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 earthbucks_ecdsa::dev

digest default dev? pkcs8? signing? verifying?

Enables digest, digest of signature

Affects hazmat::DigestPrimitive, earthbucks_ecdsa::ECDSA_SHA224_OID, earthbucks_ecdsa::ECDSA_SHA256_OID, earthbucks_ecdsa::ECDSA_SHA384_OID, earthbucks_ecdsa::ECDSA_SHA512_OID, earthbucks_ecdsa::SignatureWithOid

hazmat dev? signing? verifying?

Affects earthbucks_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, earthbucks_rfc6979, hazmat
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.

der pkcs8?

Enables der

optional dependencies

Affects earthbucks_ecdsa::der

earthbucks_rfc6979 signing?

Affects hazmat::sign_prehashed_earthbucks_rfc6979

serdect serde?
sha2 implicit feature
spki alloc?