Cargo Features

[dependencies]
ssi-verification-methods = { version = "0.1.2", default-features = false, features = ["rsa", "ed25519", "secp256k1", "secp256r1", "secp384r1", "tezos", "eip712", "aleo", "solana", "bbs"] }
default = ed25519, eip712, rsa, secp256k1, secp256r1, secp384r1, solana, tezos

These default features are set whenever ssi-verification-methods is added without default-features = false somewhere in the dependency tree.

rsa default

enable RSA keys

ed25519 default = ed25519-dalek, rand_core

enable ed25519 keys

Enables ed25519 of ssi-jws and ssi-multicodec

secp256k1 default = k256, sha2

enable secp256k1 keys

Enables secp256k1 of ssi-jws, k256 of ssi-multicodec

Affects w3c::ecdsa_secp_256k1_verification_key_2019, w3c::ecdsa_secp_256k1_recovery_method_2020

secp256r1 default = p256

enable secp256r1 (p256) keys

Enables secp256r1 of ssi-jws, p256 of ssi-multicodec

secp384r1 default = p384

enable secp384r1 (p384) keys

Enables secp384r1 of ssi-jws, p384 of ssi-multicodec

tezos default = ssi-tzkey

Enables tezos of ssi-caips

eip712 default = sha3, ssi-eip712
aleo

Enable aleo keys.

Not compatible with WASM targets.

Enables aleo of ssi-caips

solana default
bbs = ssi-bbs

Enables bbs of ssi-jwk, bls12-381 of ssi-multicodec, bbs of ssi-verification-methods-core

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.

ssi-tzkey tezos
ssi-eip712 eip712
ssi-bbs bbs?
ed25519-dalek ed25519
sha2 secp256k1
sha3 eip712
k256 secp256k1
p256 secp256r1
p384 secp384r1
rand_core ed25519