# 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.65" name = "identity_credential" version = "1.4.0" authors = ["IOTA Stiftung"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An implementation of the Verifiable Credentials standard." homepage = "https://www.iota.org" readme = "README.md" keywords = [ "iota", "tangle", "identity", ] license = "Apache-2.0" repository = "https://github.com/iotaledger/identity.rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "identity_credential" path = "src/lib.rs" [dependencies.async-trait] version = "0.1.64" default-features = false [dependencies.bls12_381_plus] version = "0.8.17" optional = true [dependencies.flate2] version = "1.0.28" features = ["rust_backend"] optional = true default-features = false [dependencies.futures] version = "0.3" optional = true default-features = false [dependencies.identity_core] version = "=1.4.0" default-features = false [dependencies.identity_did] version = "=1.4.0" default-features = false [dependencies.identity_document] version = "=1.4.0" default-features = false [dependencies.identity_verification] version = "=1.4.0" default-features = false [dependencies.indexmap] version = "2.0" features = [ "std", "serde", ] default-features = false [dependencies.itertools] version = "0.11" features = ["use_std"] optional = true default-features = false [dependencies.json-proof-token] version = "0.3.5" optional = true [dependencies.once_cell] version = "1.18" features = ["std"] default-features = false [dependencies.reqwest] version = "0.11" features = [ "default-tls", "json", "stream", ] optional = true default-features = false [dependencies.roaring] version = "0.10.2" features = ["serde"] optional = true default-features = false [dependencies.sd-jwt-payload] version = "0.2.1" features = ["sha"] optional = true default-features = false [dependencies.serde] version = "1.0" features = [ "alloc", "derive", ] default-features = false [dependencies.serde-aux] version = "4.3.1" default-features = false [dependencies.serde_json] version = "1.0" default-features = false [dependencies.serde_repr] version = "0.1" optional = true default-features = false [dependencies.strum] version = "0.25" features = [ "std", "derive", ] default-features = false [dependencies.thiserror] version = "1.0" default-features = false [dependencies.url] version = "2.5" default-features = false [dependencies.zkryptium] version = "0.2.2" features = ["bbsplus"] optional = true default-features = false [dev-dependencies.anyhow] version = "1.0.62" [dev-dependencies.iota-crypto] version = "0.23.2" features = [ "ed25519", "std", "random", ] default-features = false [dev-dependencies.proptest] version = "1.4.0" features = ["std"] default-features = false [dev-dependencies.tokio] version = "1.35.0" features = [ "rt-multi-thread", "macros", ] default-features = false [features] credential = [] default = [ "revocation-bitmap", "validator", "credential", "presentation", "domain-linkage-fetch", "sd-jwt", ] domain-linkage = ["validator"] domain-linkage-fetch = [ "domain-linkage", "dep:reqwest", "dep:futures", ] jpt-bbs-plus = [ "credential", "validator", "dep:zkryptium", "dep:bls12_381_plus", "dep:json-proof-token", ] presentation = ["credential"] revocation-bitmap = [ "dep:flate2", "dep:roaring", ] sd-jwt = [ "credential", "validator", "dep:sd-jwt-payload", ] status-list-2021 = ["revocation-bitmap"] validator = [ "dep:itertools", "dep:serde_repr", "credential", "presentation", ] [lints.clippy] result_large_err = "allow"