Cargo Features

[dependencies]
ssi-ldp = { version = "0.3.2", default-features = false, features = ["w3c", "secp256k1", "secp256r1", "secp384r1", "ed25519", "rsa", "eip", "tezos", "aleo", "solana", "test"] }
default = eip, solana, tezos, w3c

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

w3c default = ed25519, rsa, secp256k1, secp256r1

enable LDPs from the W3C linked data proof registry: ed25519, secp256k1, rsa2018, secp256r1

secp256k1 eip tezos w3c = k256

Enables secp256k1 of ssi-jws ^0.1

ssi-jws:

Enable secp256k1 signatures.

Affects secp256k1::EcdsaSecp256k1RecoverySignature2020

secp256r1 tezos w3c = p256

Enables secp256r1 of ssi-jws ^0.1

ssi-jws:

Enable secp256r1 (p256) signatures.

secp384r1

Enables secp384r1 of ssi-jws ^0.1

ssi-jws:

Enable secp384r1 (p384) signatures.

ed25519 w3c

Enables ed25519 of ssi-jws ^0.1

ssi-jws:

Enable ed25519 (EdDSA) signatures.

rsa w3c

Enables rsa of ssi-jws ^0.1

ssi-jws:

Enable RSA signatures.

eip default = keccak-hash, secp256k1, sha3

enable the EIP-defined LDPs: EIP712

Enables eip of ssi-caips ^0.1 and ssi-jws ^0.1

Affects ssi-ldp::eip712, proof::LinkedDataProofOptions.eip712_domain

tezos default = secp256k1, secp256r1, ssi-tzkey

enable LDPs from the Tezos Ecosystem

Enables tezos of ssi-caips ^0.1 and ssi-jws ^0.1

aleo

enable LDPs from the Aleo Ecosystem

Enables aleo of ssi-caips ^0.1 and ssi-jws ^0.1

solana default

enable LDPs from the Solana Ecosystem

example-http-issuer test

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.

sha3 eip
k256 secp256k1?
p256 secp256r1?
keccak-hash eip

Enables keccak-hash ^0.7

ssi-tzkey tezos

Enables ssi-tzkey ^0.1