2024-01-20 16:34:31 +00:00
|
|
|
[package]
|
2025-09-18 13:25:51 +00:00
|
|
|
name = "bao1x-hal-service"
|
2024-01-20 16:34:31 +00:00
|
|
|
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 = [
|
2025-09-18 13:25:51 +00:00
|
|
|
"bao1x",
|
2024-01-20 16:34:31 +00:00
|
|
|
] }
|
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" }
|
2024-01-20 16:34:31 +00:00
|
|
|
log = "0.4.14"
|
2026-01-28 07:31:22 +00:00
|
|
|
xous-api-susres = { path = "../../api/xous-api-susres", features = ["bao1x"] }
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x-hal = { path = "../../libs/bao1x-hal", default-features = false }
|
2025-10-24 13:10:19 +00:00
|
|
|
bao1x-api = { path = "../../libs/bao1x-api", features = ["derive-rkyv", "std"] }
|
2026-02-20 15:54:07 +00:00
|
|
|
bio-lib = { path = "../../libs/bio-lib", features = ["av-trng"] }
|
2025-10-28 09:55:06 +00:00
|
|
|
# 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"
|
2024-05-21 18:32:06 +00:00
|
|
|
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"
|
2026-04-07 07:57:19 +00:00
|
|
|
chrono = { version = "0.4.33", default-features = false, features = ["std"] }
|
2024-01-20 16:34:31 +00:00
|
|
|
|
2024-12-02 10:52:59 +00:00
|
|
|
num-derive = { version = "0.4.2", default-features = false }
|
2024-01-20 16:34:31 +00:00
|
|
|
num-traits = { version = "0.2.14", default-features = false }
|
2024-09-22 06:18:19 +00:00
|
|
|
rkyv = { version = "0.8.8", default-features = false, features = [
|
|
|
|
|
"std",
|
|
|
|
|
"alloc",
|
2024-01-20 16:34:31 +00:00
|
|
|
] }
|
2024-01-22 20:00:39 +00:00
|
|
|
|
|
|
|
|
[features]
|
2025-11-26 12:45:50 +00:00
|
|
|
keyboard-testing = []
|
2024-05-03 10:46:33 +00:00
|
|
|
app-uart = []
|
2024-08-18 18:57:12 +00:00
|
|
|
rawserial = []
|
|
|
|
|
pinger = []
|
2024-05-03 17:46:38 +00:00
|
|
|
swap = []
|
2025-09-18 13:25:51 +00:00
|
|
|
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
|
|
|
|
2026-02-26 10:29:47 +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"]
|