# 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_storage" version = "1.4.0" authors = ["IOTA Stiftung"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Abstractions over storage for cryptographic keys used in DID Documents" homepage = "https://www.iota.org" readme = "README.md" keywords = [ "iota", "storage", "identity", "kms", ] license = "Apache-2.0" repository = "https://github.com/iotaledger/identity.rs" [lib] name = "identity_storage" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.82" [dependencies.async-trait] version = "0.1.64" default-features = false [dependencies.bls12_381_plus] version = "0.8.17" optional = true [dependencies.futures] version = "0.3.27" features = ["async-await"] default-features = false [dependencies.identity_core] version = "=1.4.0" default-features = false [dependencies.identity_credential] version = "=1.4.0" features = [ "credential", "presentation", "revocation-bitmap", ] 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_iota_core] version = "=1.4.0" optional = true default-features = false [dependencies.identity_verification] version = "=1.4.0" default-features = false [dependencies.iota-crypto] version = "0.23.2" features = [ "ed25519", "random", ] optional = true default-features = false [dependencies.json-proof-token] version = "0.3.5" optional = true [dependencies.rand] version = "0.8.5" features = [ "std", "std_rng", ] optional = true default-features = false [dependencies.seahash] version = "4.1.0" default-features = false [dependencies.serde] version = "1.0" features = [ "alloc", "derive", ] default-features = false [dependencies.serde_json] version = "1.0" default-features = false [dependencies.thiserror] version = "1.0" default-features = false [dependencies.tokio] version = "1.29.0" features = [ "macros", "sync", ] optional = true default-features = false [dependencies.zkryptium] version = "0.2.2" features = ["bbsplus"] optional = true default-features = false [dev-dependencies.identity_credential] version = "=1.4.0" features = ["revocation-bitmap"] [dev-dependencies.identity_eddsa_verifier] version = "=1.4.0" features = ["ed25519"] default-features = false [dev-dependencies.once_cell] version = "1.18" default-features = false [dev-dependencies.tokio] version = "1.29.0" features = [ "macros", "sync", "rt", ] default-features = false [features] default = [ "iota-document", "memstore", ] iota-document = ["dep:identity_iota_core"] jpt-bbs-plus = [ "identity_credential/jpt-bbs-plus", "dep:zkryptium", "dep:bls12_381_plus", "dep:json-proof-token", ] memstore = [ "dep:tokio", "dep:rand", "dep:iota-crypto", ] send-sync-storage = [] [lints.clippy] result_large_err = "allow"