Cargo Features

ssi-claims has no features set by default.

[dependencies]
ssi-claims = { version = "0.2.0", features = ["w3c", "dif", "ed25519", "secp256k1", "secp256r1", "secp384r1", "rsa", "tezos", "aleo", "eip712", "solana", "ethereum", "bbs"] }
w3c

Enables signature suites specified by the W3C.

Enables w3c of ssi-data-integrity

dif

Enables signature suites specified by DIF.

Enables dif of ssi-data-integrity

ed25519

Enables signature suites based on ED25519:

  • Ed25519Signature2018
  • Ed25519Signature2020
  • EdDsa2022

Enables ed25519 of ssi-cose, ssi-data-integrity, ssi-jws, and ssi-verification-methods

secp256k1

Enables signature suites based on secp256k1:

  • EcdsaSecp256k1Signature2019

Enables secp256k1 of ssi-cose, ssi-data-integrity, ssi-jws, and ssi-verification-methods

secp256r1

Enables signature suites based on secp256r1:

  • EcdsaSecp256r1Signature2019
  • EcdsaRdfc2019

Enables secp256r1 of ssi-cose, ssi-data-integrity, ssi-jws, and ssi-verification-methods

secp384r1

Enables signature suites based on secp384r1:

  • EcdsaRdfc2019

Enables secp384r1 of ssi-cose, ssi-data-integrity, ssi-jws, and ssi-verification-methods

rsa

Enables RsaSignature2018

Enables rsa of ssi-data-integrity, ssi-jws, and ssi-verification-methods

tezos

Enables all the tezos signatures suites:

  • Ed25519BLAKE2BDigestSize20Base58CheckEncodedSignature2021
  • P256BLAKE2BDigestSize20Base58CheckEncodedSignature2021
  • TezosJcsSignature2021
  • TezosSignature2021

Enables tezos of ssi-data-integrity and ssi-jws

aleo

Enables AleoSignature2021

Enables aleo of ssi-data-integrity, ssi-jwk, ssi-jws, and ssi-verification-methods

eip712 = ssi-eip712

Enables Eip712Signature2021

Enables eip712 of ssi-data-integrity and ssi-vc

solana

Enables SolanaSignature2021

Enables solana of ssi-data-integrity and ssi-verification-methods

ethereum

Enables EthereumPersonalSignature2021

Enables ethereum of ssi-data-integrity, eip of ssi-jws

bbs

Enables Bbs2023

Enables bbs of ssi-data-integrity

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-eip712 eip712?