Cargo Features

[dependencies]
solana-secp256k1-ecdsa = { version = "0.1.0", default-features = false, features = ["sign", "bsm", "esm", "keccak", "sha256"] }
default = bsm, esm, sign

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

sign default = solana-rfc6979
bsm default = sha256

Affects hash::bsm

esm default = itoa, keccak, sha256

Affects hash::esm

keccak esm = solana-nostd-keccak

Affects hash::keccak

sha256 bsm esm = solana-nostd-sha256

Affects hash::sha256, hash::sha256d

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.

itoa esm
solana-nostd-sha256 sha256?
solana-nostd-keccak keccak?
solana-rfc6979 sign