Cargo Features

ciphersuite = { version = "0.4.1", default-features = false, features = ["std", "alloc", "dalek", "ed25519", "ristretto", "kp256", "p256", "secp256k1", "ed448"] }
default = std

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

std default

Enables std of std-shims and zeroize

Affects ciphersuite::Ciphersuite.read_F, ciphersuite::Ciphersuite.read_G

alloc = std-shims

Affects ciphersuite::Ciphersuite.read_F, ciphersuite::Ciphersuite.read_G

dalek ed25519? ristretto? = dalek-ff-group, sha2
ed25519 = dalek

Affects dalek::Ed25519

ristretto = dalek
kp256 p256? secp256k1? = elliptic-curve, sha2
p256 = kp256

Enables p256

Affects kp256::P256

secp256k1 = k256, kp256

Affects kp256::Secp256k1

ed448 = minimal-ed448, sha3

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.

std-shims alloc? std
sha2 dalek? kp256?
sha3 ed448?
dalek-ff-group dalek?
elliptic-curve kp256?
k256 secp256k1?
minimal-ed448 ed448?