# 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.60" name = "crypto_secretbox" version = "0.1.1" authors = ["RustCrypto Developers"] description = """ Pure Rust implementation of the XSalsa20Poly1305 (a.k.a. NaCl crypto_secretbox) authenticated encryption cipher as well as the libsodium variant of XChaCha20Poly1305 """ documentation = "https://docs.rs/crypto_secretbox" readme = "README.md" keywords = [ "aead", "nacl", "poly1305", "salsa20", "xsalsa20", ] categories = [ "cryptography", "no-std", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.aead] version = "0.5" default-features = false [dependencies.chacha20] version = "0.9" features = ["zeroize"] optional = true [dependencies.cipher] version = "0.4" default-features = false [dependencies.generic-array] version = "0.14.7" features = ["zeroize"] default-features = false [dependencies.poly1305] version = "0.8" [dependencies.salsa20] version = "0.10" features = ["zeroize"] optional = true [dependencies.subtle] version = "2" default-features = false [dependencies.zeroize] version = "1" default-features = false [dev-dependencies.hex-literal] version = "0.4" [features] alloc = ["aead/alloc"] default = [ "alloc", "getrandom", "salsa20", ] getrandom = [ "aead/getrandom", "rand_core", ] heapless = ["aead/heapless"] rand_core = ["aead/rand_core"] std = [ "aead/std", "alloc", ] stream = ["aead/stream"]