# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "aries-askar"
version = "0.1.2"
authors = ["Hyperledger Aries Contributors <aries@lists.hyperledger.org>"]
description = "Hyperledger Aries Askar secure storage"
readme = "README.md"
keywords = ["hyperledger", "aries", "ssi", "verifiable", "credentials"]
categories = ["cryptography", "database"]
license = "MIT/Apache-2.0"
repository = "https://github.com/hyperledger/aries-askar/"
[package.metadata.docs.rs]
features = ["all"]
no-default-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.release]
lto = true
codegen-units = 1

[lib]
name = "aries_askar"
crate-type = ["staticlib", "rlib", "cdylib"]
path = "src/lib.rs"

[[test]]
name = "backends"

[[test]]
name = "faber"
required-features = ["indy_compat"]
[dependencies.aead]
version = "0.3"

[dependencies.async-global-executor]
version = "1.4"
features = ["async-io"]

[dependencies.async-mutex]
version = "1.4"

[dependencies.async-std]
version = "1.7"

[dependencies.async-stream]
version = "0.3"

[dependencies.blocking]
version = "1.0"

[dependencies.chacha20poly1305]
version = "0.7"
features = ["alloc", "chacha20"]
default-features = false

[dependencies.chrono]
version = "0.4"

[dependencies.env_logger]
version = "0.7"
optional = true

[dependencies.ffi-support]
version = "0.4"
optional = true

[dependencies.futures-lite]
version = "1.7"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.10"

[dependencies.indy-utils]
version = "=0.3.9"
features = ["ed25519", "pack", "serde_support", "wql"]
default-features = false

[dependencies.itertools]
version = "0.9"

[dependencies.jemallocator]
version = "0.3"
optional = true

[dependencies.log]
version = "0.4"
optional = true

[dependencies.num_cpus]
version = "1.0"
optional = true

[dependencies.once_cell]
version = "1.5"

[dependencies.percent-encoding]
version = "2.0"

[dependencies.rand]
version = "0.7"

[dependencies.rmp-serde]
version = "0.14"

[dependencies.rust-argon2]
version = "0.8"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_bytes]
version = "0.11"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.9"

[dependencies.sqlx]
version = "0.5.1"
features = ["chrono", "runtime-async-std-rustls"]
optional = true
default-features = false

[dependencies.url]
version = "2.1"
default-features = false

[dependencies.uuid]
version = "0.8"
features = ["v4"]

[dependencies.zeroize]
version = "1.1.0"
features = ["zeroize_derive"]

[features]
all = ["any", "postgres", "sqlite"]
any = []
default = ["all", "ffi", "logger"]
ffi = ["any", "ffi-support", "logger"]
indy_compat = ["sqlx", "sqlx/sqlite"]
jemalloc = ["jemallocator"]
logger = ["env_logger", "log"]
pg_test = ["postgres"]
postgres = ["sqlx", "sqlx/postgres", "sqlx/tls"]
sqlite = ["num_cpus", "sqlx", "sqlx/sqlite"]
