| 1 |
[package] |
| 2 |
name = "aes" |
| 3 |
version = "0.8.4" |
| 4 |
description = "Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael)" |
| 5 |
authors = ["RustCrypto Developers"] |
| 6 |
license = "MIT OR Apache-2.0" |
| 7 |
edition = "2021" |
| 8 |
rust-version = "1.56" |
| 9 |
readme = "README.md" |
| 10 |
documentation = "https://docs.rs/aes" |
| 11 |
repository = "https://github.com/RustCrypto/block-ciphers" |
| 12 |
keywords = ["crypto", "aes", "rijndael", "block-cipher"] |
| 13 |
categories = ["cryptography", "no-std"] |
| 14 |
|
| 15 |
[dependencies] |
| 16 |
cfg-if = "1" |
| 17 |
cipher = "0.4.2" |
| 18 |
|
| 19 |
[target.'cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))'.dependencies] |
| 20 |
cpufeatures = "0.2" |
| 21 |
|
| 22 |
[target.'cfg(not(all(aes_armv8, target_arch = "aarch64")))'.dependencies] |
| 23 |
zeroize = { version = "1.6.0", optional = true, default_features = false } |
| 24 |
|
| 25 |
# TODO(tarcieri): unconditionally enable `aarch64` feature when MSRV is 1.59 |
| 26 |
[target.'cfg(all(aes_armv8, target_arch = "aarch64"))'.dependencies] |
| 27 |
zeroize = { version = "1.5.6", optional = true, default_features = false, features = ["aarch64"] } |
| 28 |
|
| 29 |
[dev-dependencies] |
| 30 |
cipher = { version = "0.4.2", features = ["dev"] } |
| 31 |
hex-literal = "0.3" |
| 32 |
|
| 33 |
[features] |
| 34 |
hazmat = [] # Expose cryptographically hazardous APIs |
| 35 |
|
| 36 |
[package.metadata.docs.rs] |
| 37 |
all-features = true |
| 38 |
rustdoc-args = ["--cfg", "docsrs"] |