Cargo Features

[dependencies]
signatory = { version = "0.27.1", default-features = false, features = ["std", "ed25519", "nistp256", "nistp384", "secp256k1"] }
default = std

The std feature is set by default whenever signatory is added without default-features = false somewhere in the dependency tree.

std default

Enables std of pkcs8, rand_core, and signature

ed25519

Enables ed25519-dalek

Affects ring::KeyRing.ed25519, signatory::ed25519

nistp256 = ecdsa

Enables p256

Affects keyring::KeyRing.nistp256, ecdsa::nistp256

nistp384 = ecdsa

Enables p384

Affects ecdsa::nistp384

secp256k1 = ecdsa

Enables k256

Affects keyring::KeyRing.secp256k1, ecdsa::secp256k1

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.

ecdsa nistp256? nistp384? secp256k1?

Enables ecdsa

optional dependencies

Affects ring::KeyRing.ecdsa, signatory::ecdsa