# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80" name = "ssi" version = "0.10.1" authors = ["Spruce Systems, Inc."] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Core library for Verifiable Credentials and Decentralized Identifiers." documentation = "https://docs.rs/ssi/" readme = "README.md" keywords = [ "ssi", "did", "vc", "vp", "jsonld", ] license = "Apache-2.0" repository = "https://github.com/spruceid/ssi/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "ssi" path = "src/lib.rs" [[example]] name = "genaleojwk" path = "examples/genaleojwk.rs" [[example]] name = "issue" path = "examples/issue.rs" [[example]] name = "issue-revocation-list" path = "examples/issue-revocation-list.rs" [[example]] name = "issue-status-list" path = "examples/issue-status-list.rs" [[example]] name = "present" path = "examples/present.rs" [[example]] name = "vc_parse" path = "examples/vc_parse.rs" [[example]] name = "vc_verify" path = "examples/vc_verify.rs" [[test]] name = "send" path = "tests/send.rs" [[test]] name = "vcdm_v1_sign" path = "tests/vcdm_v1_sign.rs" [[test]] name = "vcdm_v2_sign" path = "tests/vcdm_v2_sign.rs" [dependencies.document-features] version = "0.2" [dependencies.ssi-bbs] version = "0.1.1" optional = true default-features = false [dependencies.ssi-caips] version = "0.2.1" default-features = false [dependencies.ssi-claims] version = "0.2.0" default-features = false [dependencies.ssi-core] version = "0.2.2" default-features = false [dependencies.ssi-crypto] version = "0.2.1" default-features = false [dependencies.ssi-dids] version = "0.2.1" default-features = false [dependencies.ssi-eip712] version = "0.1" default-features = false [dependencies.ssi-json-ld] version = "0.3" default-features = false [dependencies.ssi-jwk] version = "0.3.1" default-features = false [dependencies.ssi-jws] version = "0.3" default-features = false [dependencies.ssi-multicodec] version = "0.2" default-features = false [dependencies.ssi-rdf] version = "0.1" default-features = false [dependencies.ssi-security] version = "0.1" default-features = false [dependencies.ssi-ssh] version = "0.2.1" default-features = false [dependencies.ssi-status] version = "0.3.0" default-features = false [dependencies.ssi-ucan] version = "0.2.1" default-features = false [dependencies.ssi-verification-methods] version = "0.1.1" default-features = false [dependencies.ssi-zcap-ld] version = "0.3.0" default-features = false [dependencies.xsd-types] version = "0.9.5" [dev-dependencies.async-std] version = "1.9" features = ["attributes"] [dev-dependencies.iref] version = "3.2.2" [dev-dependencies.json-syntax] version = "0.12.5" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" features = ["arbitrary_precision"] [dev-dependencies.ssi-dids] version = "0.2.1" features = ["example"] default-features = false [dev-dependencies.static-iref] version = "3.0" [dev-dependencies.uuid] version = "1.9" features = [ "v4", "serde", ] [features] aleo = [ "ssi-claims/aleo", "ssi-caips/aleo", "ssi-dids/aleo", ] bbs = [ "ssi-crypto/bbs", "ssi-claims/bbs", "ssi-bbs", ] default = [ "w3c", "rsa", "ed25519", "secp256k1", "secp256r1", "ripemd-160", "eip712", ] dif = ["ssi-claims/dif"] ed25519 = ["ssi-claims/ed25519"] eip712 = ["ssi-claims/eip712"] ethereum = [ "ssi-claims/ethereum", "ssi-jwk/eip", "ssi-dids/eip", ] example = ["ssi-dids/example"] http-did = ["ssi-dids/http"] ring = [ "ssi-jwk/ring", "ssi-jws/ring", "ssi-crypto/ring", ] ripemd-160 = [ "ssi-jwk/ripemd-160", "ssi-dids/ripemd-160", ] rsa = ["ssi-claims/rsa"] secp256k1 = [ "ssi-claims/secp256k1", "ssi-dids/secp256k1", ] secp256r1 = [ "ssi-claims/secp256r1", "ssi-dids/secp256r1", ] secp384r1 = [ "ssi-claims/secp384r1", "ssi-dids/secp384r1", ] solana = [ "ssi-claims/solana", "ssi-dids/solana", ] tezos = [ "ssi-claims/tezos", "ssi-caips/tezos", "ssi-dids/tezos", ] w3c = ["ssi-claims/w3c"]