Cargo Features

[dependencies]
earthbucks_k256 = { version = "0.8.2", default-features = false, features = ["std", "alloc", "arithmetic", "bits", "critical-section", "digest", "ecdh", "ecdsa", "expose-field", "hash2curve", "jwk", "pem", "pkcs8", "precomputed-tables", "serde", "sha256", "test-vectors", "signature"] }
default = arithmetic, ecdsa, pkcs8, precomputed-tables, std

These default features are set whenever earthbucks_k256 is added without default-features = false somewhere in the dependency tree.

std default = alloc

Enables std of optional earthbucks_ecdsa, elliptic-curve, and optional once_cell

once_cell:

optional dependencies

alloc std

Enables alloc of optional earthbucks_ecdsa and elliptic-curve

arithmetic default bits? ecdh? ecdsa expose-field? hash2curve? precomputed-tables

Enables arithmetic of elliptic-curve

Affects earthbucks_k256::NonZeroScalar, earthbucks_k256::PublicKey

bits = arithmetic

Enables bits of elliptic-curve

Affects earthbucks_k256::ScalarBits

critical-section = precomputed-tables

Enables critical-section of once_cell

digest sha256?

Enables digest and hazmat of earthbucks_ecdsa

ecdh = arithmetic

Enables ecdh of elliptic-curve

Affects earthbucks_k256::ecdh

ecdsa default = arithmetic, sha256

Enables signing and verifying of earthbucks_ecdsa

Affects ecdsa::SigningKey, ecdsa::VerifyingKey

expose-field = arithmetic
hash2curve = arithmetic

Enables hash2curve of elliptic-curve

jwk

Enables jwk of elliptic-curve

pem = pkcs8

Enables pem of earthbucks_ecdsa and elliptic-curve

pkcs8 default pem?

Enables pkcs8 of earthbucks_ecdsa and elliptic-curve

precomputed-tables default critical-section? = arithmetic, once_cell
serde = serdect

Enables serde of earthbucks_ecdsa and elliptic-curve

sha256 ecdsa = 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 earthbucks_ecdsa

Affects earthbucks_k256::ecdsa

hex-literal test-vectors?
serdect serde?
sha2 sha256?
signature implicit feature

Enables signature

signature:

Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)