Cargo Features

[dependencies]
hd-keys-curves-wasm = { version = "1.0.1", default-features = false, features = ["curve25519", "ed448", "k256", "p256", "p384", "bls", "jubjub"] }
default = k256

The k256 feature is set by default whenever hd-keys-curves-wasm is added without default-features = false somewhere in the dependency tree.

curve25519

Enables curve25519-dalek-ml and sha2

Affects derive::curve25519_dalek_ml, traits::Ed25519, traits::Ristretto25519

ed448

Enables ed448-goldilocks-plus and sha3

Affects derive::ed448_goldilocks_plus, consts::CURVE_NAME_CURVE448, traits::Ed448

k256 default

Enables k256 and sha2

Affects derive::k256, consts::CURVE_NAME_SECP256K1

p256

Enables p256 and sha2

Affects derive::p256, consts::CURVE_NAME_PRIME256V1

p384

Enables p384 and sha2

Affects derive::p384, consts::CURVE_NAME_SECP384R1

bls

Enables blsful and sha2

Affects derive::blsful, consts::CURVE_NAME_BLS12381G1, consts::CURVE_NAME_BLS12381G2, consts::CURVE_NAME_BLS12381GT, traits::Bls12381Gt

jubjub

Enables blake2 and jubjub-plus

Affects derive::jubjub, consts::CURVE_NAME_JUBJUB, traits::JubJub