Cargo Features

[dependencies]
ssi-jws = { version = "0.3.0", default-features = false, features = ["secp256k1", "secp256r1", "secp384r1", "ed25519", "rsa", "aleo", "eip", "tezos", "ring"] }
default = ed25519, rsa, secp256k1, secp256r1

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

secp256k1 default eip? tezos? = blake2, k256

Enable secp256k1 signatures.

Enables sha2 and sha3, secp256k1 of ssi-crypto and ssi-jwk

secp256r1 default tezos? = blake2, p256

Enable secp256r1 (p256) signatures.

Enables secp256r1 of ssi-jwk

secp384r1 = p384

Enable secp384r1 (p384) signatures.

Enables secp384r1 of ssi-jwk

ed25519 default tezos? = blake2, ed25519-dalek, rand

Enable ed25519 (EdDSA) signatures.

Enables ed25519 of ssi-jwk

rsa default = rand

Enable RSA signatures.

Enables rsa ^0.6 and sha2, rsa of ssi-jwk

aleo

Enable aleo ecosystem signatures.

Enables aleo of ssi-jwk

eip = k256, secp256k1

Enable ethereum style signatures.

Enables keccak of ssi-crypto, eip of ssi-jwk

tezos = ed25519, secp256k1, secp256r1

Enable tezos style signatures.

Enables tezos of ssi-jwk

ring = blake2, rand

Use the Ring crate for crypto operations.

Enables ring ^0.16, ring of ssi-jwk

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.

k256 eip? secp256k1
p256 secp256r1
p384 secp384r1?
blake2 ed25519 ring? secp256k1 secp256r1
ed25519-dalek ed25519
rand ed25519 ring? rsa