Cargo Features

[dependencies]
ssi-cose = { version = "0.1.0", default-features = false, features = ["ed25519", "secp256k1", "secp256r1", "secp384r1"] }
default = secp256r1

The secp256r1 feature is set by default whenever ssi-cose is added without default-features = false somewhere in the dependency tree.

ed25519

Enables ed25519 of ssi-crypto

Affects key::CoseKeyGenerate.generate_ed25519, key::CoseKeyGenerate.generate_ed25519_from

secp256k1

Enables secp256k1 of ssi-crypto

Affects key::CoseKeyGenerate.generate_secp256k1, key::CoseKeyGenerate.generate_secp256k1_from

secp256r1 default

Enables secp256r1 of ssi-crypto

Affects key::CoseKeyGenerate.generate_p256, key::CoseKeyGenerate.generate_p256_from

secp384r1

Enables secp384r1 of ssi-crypto

Affects key::CoseKeyGenerate.generate_p384, key::CoseKeyGenerate.generate_p384_from