# 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 = "2018" name = "pwbox" version = "0.5.0" authors = ["The Exonum Team "] description = "Modular password-based encryption" documentation = "https://docs.rs/pwbox" readme = "README.md" keywords = ["cryptography", "encryption", "password-based", "exonum"] categories = ["cryptography", "no-std"] license = "Apache-2.0" repository = "https://github.com/exonum/pwbox-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [[example]] name = "sodium_keypair" path = "examples/sodium_keypair.rs" required-features = ["std", "exonum_sodiumoxide"] [[example]] name = "key-util" path = "examples/key_util.rs" required-features = ["std", "exonum_sodiumoxide"] [[test]] name = "serialization" path = "tests/serialization.rs" required-features = ["rust-crypto", "exonum_sodiumoxide"] [dependencies.anyhow] version = "1.0" default-features = false [dependencies.chacha20poly1305] version = "0.9" optional = true [dependencies.constant_time_eq] version = "0.1.3" [dependencies.exonum_sodiumoxide] version = ">=0.0.21, <=0.0.24" optional = true [dependencies.hex-buffer-serde] version = "0.3" [dependencies.rand_core] version = "0.6.0" [dependencies.rust-crypto] version = "0.2.36" optional = true [dependencies.scrypt] version = "0.8" optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.serde_json] version = "1.0" features = ["alloc"] default-features = false [dependencies.smallvec] version = "1.6.0" default-features = false [dependencies.zeroize] version = "1.4" features = ["alloc"] default-features = false [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.hex] version = "0.4.2" [dev-dependencies.rand] version = "0.8.0" [dev-dependencies.rpassword] version = "5.0.0" [dev-dependencies.serde_cbor] version = "0.11.1" [dev-dependencies.serde_yaml] version = "0.8.14" [dev-dependencies.structopt] version = "0.3.21" [dev-dependencies.toml] version = "0.5.8" [dev-dependencies.version-sync] version = "0.9.2" [features] default = ["std", "exonum_sodiumoxide"] pure = ["chacha20poly1305", "scrypt"] std = ["anyhow/std", "scrypt/std"]