# 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" name = "dbe" version = "0.2.1" description = "Encrypt utils for developing database" homepage = "https://github.com/al8n/dbutils" readme = "README.md" license = "Apache-2.0/MIT" repository = "https://github.com/al8n/dbutils" resolver = "1" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.aes_encrypt] version = "0.8" optional = true default-features = false package = "aes" [dependencies.bytes] version = "1.4" default-features = false [dependencies.ctr] version = "0.9" optional = true default-features = false [dependencies.prost] version = "0.11" features = ["prost-derive"] optional = true default-features = false [dependencies.rand] version = "0.8" default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dev-dependencies] [features] aes = [ "aes_encrypt/zeroize", "ctr/zeroize", ] aes-std = [ "aes_encrypt", "ctr/std", "rand/default", ] default = [ "std", "aes-std", ] std = [ "rand/default", "prost/std", "bytes/std", ] [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2" features = ["js"]