xous-core/services/aes/Cargo.toml

23 lines
741 B
TOML

[package]
name = "aes"
version = "0.8.3"
authors = ["bunnie <bunnie@kosagi.com>"]
edition = "2018"
description = "AES library for Xous"
# Dependency versions enforced by Cargo.lock.
[dependencies]
cipher = "0.4.2"
zeroize = { version = "1.6.0", optional = true, default-features = false }
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ["cfg(aes_compact)", "cfg(aes_force_soft)"]
[features]
hazmat = [] # Expose cryptographically hazardous APIs
cramium-soc = []
# Note: this default line should always be empty. If it has the 'cramium-soc' feature
# checkd in, then AES acceleration gets disabled for all targets. This hack only exists
# because in the MPW version of the silicon, HW AES in broken on the RV32.
default = []