Cargo Features

[dependencies]
ciphersuite-mirror = { 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-mirror is added without default-features = false somewhere in the dependency tree.

std default

Enables std of optional dalek-ff-group-mirror, digest, optional elliptic-curve, ff, optional k256, optional minimal-ed448-mirror, optional p256, rand_core, optional sha2, optional sha3, std-shims-mirror, subtle, flexible-transcript-mirror, and zeroize

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

alloc = std-shims

Affects ciphersuite-mirror::Ciphersuite.read_F, ciphersuite-mirror::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

Enables std-shims-mirror

sha2 dalek? kp256?
sha3 ed448?
dalek-ff-group dalek?

Enables dalek-ff-group-mirror

elliptic-curve kp256?
k256 secp256k1?
minimal-ed448 ed448?

Enables minimal-ed448-mirror