[package] name = "aes" version = "0.8.4" description = "Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael)" authors = ["RustCrypto Developers"] license = "MIT OR Apache-2.0" edition = "2021" rust-version = "1.56" readme = "README.md" documentation = "https://docs.rs/aes" repository = "https://github.com/RustCrypto/block-ciphers" keywords = ["crypto", "aes", "rijndael", "block-cipher"] categories = ["cryptography", "no-std"] [dependencies] cfg-if = "1" cipher = "0.4.2" [target.'cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))'.dependencies] cpufeatures = "0.2" [target.'cfg(not(all(aes_armv8, target_arch = "aarch64")))'.dependencies] zeroize = { version = "1.6.0", optional = true, default_features = false } # TODO(tarcieri): unconditionally enable `aarch64` feature when MSRV is 1.59 [target.'cfg(all(aes_armv8, target_arch = "aarch64"))'.dependencies] zeroize = { version = "1.5.6", optional = true, default_features = false, features = ["aarch64"] } [dev-dependencies] cipher = { version = "0.4.2", features = ["dev"] } hex-literal = "0.3" [features] hazmat = [] # Expose cryptographically hazardous APIs [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]