# 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.75" name = "bitwarden-crypto" version = "1.0.0" authors = ["Bitwarden Inc"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Internal crate for the bitwarden crate. Do not use. """ homepage = "https://bitwarden.com" readme = "README.md" keywords = ["bitwarden"] license-file = "LICENSE" repository = "https://github.com/bitwarden/sdk" [lib] name = "bitwarden_crypto" path = "src/lib.rs" [[bench]] name = "default_allocator" path = "benches/default_allocator.rs" harness = false required-features = ["no-memory-hardening"] [[bench]] name = "zeroizing_allocator" path = "benches/zeroizing_allocator.rs" harness = false required-features = ["no-memory-hardening"] [dependencies.aes] version = ">=0.8.2, <0.9" features = ["zeroize"] [dependencies.argon2] version = ">=0.5.0, <0.6" features = [ "std", "zeroize", ] default-features = false [dependencies.base64] version = ">=0.22.1, <0.23" [dependencies.cbc] version = ">=0.1.2, <0.2" features = [ "alloc", "zeroize", ] [dependencies.generic-array] version = ">=0.14.7, <1.0" features = ["zeroize"] [dependencies.hkdf] version = ">=0.12.3, <0.13" [dependencies.hmac] version = ">=0.12.1, <0.13" [dependencies.num-bigint] version = ">=0.4, <0.5" [dependencies.num-traits] version = ">=0.2.15, <0.3" [dependencies.pbkdf2] version = ">=0.12.1, <0.13" default-features = false [dependencies.rand] version = ">=0.8.5, <0.9" [dependencies.rayon] version = ">=1.8.1, <2.0" [dependencies.rsa] version = ">=0.9.2, <0.10" [dependencies.schemars] version = ">=0.8, <0.9" features = ["uuid1"] [dependencies.serde] version = ">=1.0, <2.0" features = ["derive"] [dependencies.sha1] version = ">=0.10.5, <0.11" [dependencies.sha2] version = ">=0.10.6, <0.11" [dependencies.subtle] version = ">=2.5.0, <3.0" [dependencies.thiserror] version = ">=1.0.40, <2.0" [dependencies.uniffi] version = "=0.28.1" optional = true [dependencies.uuid] version = ">=1.3.3, <2.0" features = ["serde"] [dependencies.zeroize] version = ">=1.7.0, <2.0" features = [ "derive", "aarch64", ] [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.rand_chacha] version = "0.3.1" [dev-dependencies.serde_json] version = ">=1.0.96, <2.0" [features] default = [] no-memory-hardening = [] uniffi = ["dep:uniffi"] [lints.clippy] unused_async = "deny" unwrap_used = "deny"