# 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.81" name = "chacha20poly1305" version = "0.11.0-pre.2" authors = ["RustCrypto Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Pure Rust implementation of the ChaCha20Poly1305 Authenticated Encryption with Additional Data Cipher (RFC 8439) with optional architecture-specific hardware acceleration. Also contains implementations of the XChaCha20Poly1305 extended nonce variant of ChaCha20Poly1305, and the reduced-round ChaCha8Poly1305 and ChaCha12Poly1305 lightweight variants. """ homepage = "https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305" documentation = "https://docs.rs/chacha20poly1305" readme = "README.md" keywords = [ "aead", "chacha20", "poly1305", "xchacha20", "xchacha20poly1305", ] categories = [ "cryptography", "no-std", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/RustCrypto/AEADs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "chacha20poly1305" path = "src/lib.rs" [[test]] name = "lib" path = "tests/lib.rs" [dependencies.aead] version = "0.6.0-rc.0" default-features = false [dependencies.chacha20] version = "=0.10.0-pre.2" features = [ "xchacha", "zeroize", ] default-features = false [dependencies.cipher] version = "=0.5.0-pre.7" [dependencies.poly1305] version = "0.9.0-rc.0" [dependencies.zeroize] version = "1.8" default-features = false [dev-dependencies.aead] version = "0.6.0-rc.0" features = ["dev"] default-features = false [features] alloc = ["aead/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] default = [ "alloc", "getrandom", ] getrandom = [ "aead/getrandom", "rand_core", ] heapless = ["aead/heapless"] rand_core = ["aead/rand_core"] reduced-round = [] std = [ "aead/std", "alloc", ] stream = ["aead/stream"]