[package]
edition = "2024"
rust-version = "1.85"
name = "aes"
version = "0.9.0"
authors = ["RustCrypto Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael)"
documentation = "https://docs.rs/aes"
readme = "README.md"
keywords = [
"crypto",
"aes",
"rijndael",
"block-cipher",
]
categories = [
"cryptography",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/RustCrypto/block-ciphers"
[package.metadata.docs.rs]
all-features = true
[features]
hazmat = []
[lib]
name = "aes"
path = "src/lib.rs"
[[test]]
name = "hazmat"
path = "tests/hazmat.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[bench]]
name = "mod"
path = "benches/mod.rs"
[dependencies.cipher]
version = "0.5"
[dependencies.cpubits]
version = "0.1"
[dependencies.zeroize]
version = "1.5.6"
features = ["aarch64"]
optional = true
default-features = false
[dev-dependencies.cipher]
version = "0.5"
features = ["dev"]
[dev-dependencies.hex-literal]
version = "1"
[target.'cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))'.dependencies.cpufeatures]
version = "0.3"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
'cfg(aes_backend_soft, values("compact"))',
'cfg(aes_backend, values("soft", "avx256", "avx512"))',
'cfg(cpubits, values("16", "32", "64"))',
]