# 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 = "aries-askar" version = "0.3.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", ] [profile.release] lto = true codegen-units = 1 panic = "abort" strip = "debuginfo" [lib] name = "aries_askar" crate-type = [ "staticlib", "rlib", "cdylib", ] path = "src/lib.rs" bench = false [[bench]] name = "benchmark" harness = false [dependencies.askar-crypto] version = "0.3" features = [ "all_keys", "any_key", "argon2", "crypto_box", "std", ] [dependencies.askar-storage] version = "0.1.0" features = ["any"] default-features = false [dependencies.async-lock] version = "3.0" [dependencies.env_logger] version = "0.10" optional = true [dependencies.ffi-support] version = "0.4" optional = true [dependencies.jemallocator] version = "0.5" optional = true [dependencies.log] version = "0.4" optional = true [dependencies.once_cell] version = "1.5" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_cbor] version = "0.11" [dependencies.serde_json] version = "1.0" [dependencies.zeroize] version = "1.5" [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.rand] version = "0.8" [features] all_backends = [ "postgres", "sqlite", ] default = [ "all_backends", "ffi", "logger", "migration", ] ffi = [ "dep:ffi-support", "logger", ] jemalloc = ["dep:jemallocator"] logger = [ "dep:env_logger", "dep:log", "askar-storage/log", ] migration = ["askar-storage/migration"] pg_test = ["askar-storage/pg_test"] postgres = ["askar-storage/postgres"] sqlite = ["askar-storage/sqlite"]