xous-core/services/aes/Cargo.toml

33 lines
1 KiB
TOML
Raw Permalink Normal View History

2021-06-03 16:49:34 +00:00
[package]
name = "aes"
version = "0.8.4"
2021-06-03 16:49:34 +00:00
authors = ["bunnie <bunnie@kosagi.com>"]
edition = "2018"
description = "AES library for Xous"
2022-06-10 13:36:53 +00:00
# Dependency versions enforced by Cargo.lock.
2021-06-03 16:49:34 +00:00
[dependencies]
cipher = "0.4.2"
2024-06-14 11:10:18 +00:00
zeroize = { version = "1.6.0", optional = true, default-features = false }
2025-12-01 17:04:17 +00:00
rand_chacha = { version = "0.3.1", optional = true, default-features = false }
hex = { version = "0.4.3", optional = true, default-features = false, features = [
"alloc",
] }
2026-01-29 11:12:00 +00:00
utralib = { version = "0.1.27", optional = true, default-features = false }
2025-12-01 17:04:17 +00:00
bao1x-hal = { path = "../../libs/bao1x-hal", default-features = false, optional = true }
2021-06-03 16:49:34 +00:00
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ["cfg(aes_compact)", "cfg(aes_force_soft)"]
2021-06-03 16:49:34 +00:00
[features]
2025-12-01 18:27:01 +00:00
hazmat = [] # Expose cryptographically hazardous APIs
bao1x = []
2025-07-20 19:10:04 +00:00
vexii-test = []
precursor = []
renode = []
2025-12-01 18:27:01 +00:00
chaffing = ["rand_chacha", "hex"]
loader-baosec = ["utralib/bao1x", "bao1x-hal/loader-baosec"]
loader-dabao = ["utralib/bao1x", "bao1x-hal/loader-dabao"]
default = []