# 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.63" name = "askar-storage" version = "0.1.1" authors = ["Hyperledger Aries Contributors "] description = "Hyperledger Aries Askar secure storage" readme = "README.md" keywords = [ "hyperledger", "aries", "ssi", "verifiable", "credentials", ] categories = [ "cryptography", "database", ] license = "MIT OR Apache-2.0" repository = "https://github.com/hyperledger/aries-askar/" [package.metadata.docs.rs] features = ["all_backends"] no-default-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[test]] name = "backends" [dependencies.arc-swap] version = "1.6" [dependencies.askar-crypto] version = "0.3" features = [ "alloc", "argon2", "chacha", "std_rng", ] default-features = false [dependencies.async-lock] version = "3.0" [dependencies.async-stream] version = "0.3" [dependencies.bs58] version = "0.5" [dependencies.chrono] version = "0.4" [dependencies.digest] version = "0.10" [dependencies.futures-lite] version = "2.0" [dependencies.hex] version = "0.4" [dependencies.hmac] version = "0.12" [dependencies.itertools] version = "0.12" [dependencies.log] version = "0.4" optional = true [dependencies.once_cell] version = "1.5" [dependencies.percent-encoding] version = "2.0" [dependencies.rmp-serde] version = "1.1" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_cbor] version = "0.11" [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10" [dependencies.sqlx] version = "0.7.3" features = [ "chrono", "runtime-tokio", ] optional = true default-features = false [dependencies.tokio] version = "1.5" features = [ "rt-multi-thread", "time", ] [dependencies.url] version = "2.1" default-features = false [dependencies.uuid] version = "1.2" features = ["v4"] [dependencies.zeroize] version = "1.5" [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.rand] version = "0.8" [features] all_backends = [ "any", "postgres", "sqlite", ] any = [] default = [ "all_backends", "log", ] migration = [ "dep:rmp-serde", "dep:sqlx", "sqlx?/macros", ] pg_test = ["postgres"] postgres = [ "dep:sqlx", "sqlx?/postgres", "sqlx?/tls-rustls", ] sqlite = [ "dep:sqlx", "sqlx?/sqlite", ]