xous-core/services/bao1x-hal-service/Cargo.toml

60 lines
2 KiB
TOML
Raw Permalink Normal View History

[package]
name = "bao1x-hal-service"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2026-01-29 11:12:00 +00:00
utralib = { version = "0.1.27", optional = true, default-features = false, features = [
"bao1x",
] }
2026-01-29 11:12:00 +00:00
xous-names = { package = "xous-api-names", version = "0.9.71" }
ticktimer = { package = "xous-api-ticktimer", version = "0.9.70" }
xous = { version = "0.9.70", features = ["raw-trng"] }
xous-ipc = "0.10.10"
log-server = { package = "xous-api-log", version = "0.1.69" }
log = "0.4.14"
2026-01-28 07:31:22 +00:00
xous-api-susres = { path = "../../api/xous-api-susres", features = ["bao1x"] }
bao1x-hal = { path = "../../libs/bao1x-hal", default-features = false }
bao1x-api = { path = "../../libs/bao1x-api", features = ["derive-rkyv", "std"] }
bio-lib = { path = "../../libs/bio-lib", features = ["av-trng"] }
# I'm not entirely in love with the aborted attempt to use flatipc in Xous, but we use
# this because it makes the API backward-compatible with older Xous code.
flatipc = { path = "../../libs/flatipc" }
flatipc-derive = { path = "../../libs/flatipc-derive" }
rand = "0.8.5"
rand_core = "0.6.4"
rand_chacha = "0.3.1"
2025-01-02 20:09:32 +00:00
bitfield = "0.13.2"
2025-12-10 18:18:44 +00:00
# TODO: migrate from bitfield to bitbybit
2025-11-26 12:45:50 +00:00
bitbybit = "1.4.0"
arbitrary-int = "1.2"
bytemuck = "1.24.0"
chrono = { version = "0.4.33", default-features = false, features = ["std"] }
num-derive = { version = "0.4.2", default-features = false }
num-traits = { version = "0.2.14", default-features = false }
rkyv = { version = "0.8.8", default-features = false, features = [
"std",
"alloc",
] }
[features]
2025-11-26 12:45:50 +00:00
keyboard-testing = []
app-uart = []
rawserial = []
pinger = []
swap = []
mpw = ["bao1x-hal/mpw"]
bmp180 = ["bao1x-hal/bmp180"]
board-baosec = ["bao1x-hal/board-baosec"]
board-baosor = ["bao1x-hal/board-baosor"]
board-dabao = ["bao1x-hal/board-dabao"]
2025-12-10 18:18:44 +00:00
accel-kbd = []
oem-baosec-lite = ["bao1x-hal/oem-baosec-lite"]
2025-12-10 18:18:44 +00:00
with-duart = ["bao1x-hal/debug-print-duart"]
2025-01-02 20:09:32 +00:00
default = ["app-uart", "utralib"]