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
somewhere in the dependency tree.default-features = false - 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.
- secp384r1 = p384
-
Enable secp384r1 (p384) signatures.
- ed25519 default tezos? = blake2, ed25519-dalek, rand
-
Enable ed25519 (EdDSA) signatures.
- rsa default = rand
-
Enable RSA signatures.
- aleo
-
Enable aleo ecosystem signatures.
- eip = k256, secp256k1
-
Enable ethereum style signatures.
Enables keccak of ssi-crypto, eip of ssi-jwk
- tezos = ed25519, secp256k1, secp256r1
-
Enable tezos style signatures.
- 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.