xous-core/services/bao-console/Cargo.toml

100 lines
3 KiB
TOML
Raw Permalink Normal View History

[package]
name = "bao-console"
version = "0.1.0"
edition = "2021"
[dependencies]
2026-01-29 11:12:00 +00:00
utralib = { version = "0.1.27", optional = true, default-features = false }
xous-names = { package = "xous-api-names", version = "0.9.71" }
ticktimer = { package = "xous-api-ticktimer", version = "0.9.70" }
xous = "0.9.70"
log-server = { package = "xous-api-log", version = "0.1.69" }
log = "0.4.14"
num-derive = { version = "0.4.2", default-features = false }
num-traits = { version = "0.2.14", default-features = false }
bao1x-hal = { path = "../../libs/bao1x-hal", features = [
"std",
], optional = true }
bao1x-api = { path = "../../libs/bao1x-api" }
bao1x-hal-service = { path = "../bao1x-hal-service", optional = true }
bao1x-emu = { path = "../bao1x-emu", optional = true }
2025-09-08 09:21:49 +00:00
usb-bao1x = { path = "../usb-bao1x" }
modals = { path = "../modals", default-features = false, optional = true }
2025-04-28 19:03:36 +00:00
ux-api = { path = "../../libs/ux-api", optional = true }
pddb = { path = "../pddb", optional = true }
xous-swapper = { path = "../xous-swapper", optional = true }
bytemuck = "1.24.0"
susres = { path = "../../api/xous-api-susres", package = "xous-api-susres" }
keystore = { path = "../keystore" }
2026-02-04 07:58:20 +00:00
keystore-api = { path = "../../libs/keystore-api" }
2026-01-28 07:21:39 +00:00
bio-lib = { path = "../../libs/bio-lib", optional = true }
arbitrary-int = "1.2"
# pddb testing
rand = { version = "0.8.5", features = ["getrandom"], optional = true }
rand_chacha = { version = "0.3.1", optional = true }
2025-11-18 11:35:48 +00:00
rand_core = "0.6.4"
aes = { path = "../aes", default-features = false, optional = true, features = [
"chaffing",
] }
2025-08-10 14:28:14 +00:00
# time testing
chrono = "0.4.33"
# QR code encoding
base45 = "3.1.0"
2025-09-09 15:11:30 +00:00
# hid bringup
xous-usb-hid = { git = "https://github.com/betrusted-io/xous-usb-hid.git", branch = "main", optional = true }
2025-08-10 14:28:14 +00:00
# aes testing
[features]
bao1x = ["utralib/bao1x", "usb-bao1x/bao1x", "aes/bao1x"]
board-baosec = [
"modals/board-baosec",
"bao1x-hal-service",
"bao1x-hal",
2025-09-08 09:21:49 +00:00
"usb-bao1x/board-baosec",
2025-05-05 17:46:34 +00:00
"pddb/board-baosec",
"xous-swapper",
"ux-api/board-baosec",
2026-01-28 07:21:39 +00:00
"bio-lib",
]
oem-baosec-lite = ["bao1x-hal/sensor-lis2dh12"]
hosted-baosec = [
"modals/hosted-baosec",
2025-09-08 09:21:49 +00:00
"usb-bao1x/hosted-baosec",
"bao1x-emu",
2025-05-05 17:46:34 +00:00
"pddb/hosted-baosec",
"bao1x-hal/hosted-baosec",
]
# Don't use this for dabao. Use apps-dabao/dabao-console instead!
# board-dabao = [
# "bao1x-hal-service",
# "bao1x-hal/board-dabao",
# "usb-bao1x/board-dabao",
# ]
bmp180 = ["bao1x-hal/bmp180", "bao1x-hal-service"]
2025-05-05 17:46:34 +00:00
usb = []
2025-08-10 14:28:14 +00:00
aestests = ["aes"]
battery-readout = []
with-pddb = []
pddbtest = ["with-pddb"]
2025-05-05 17:46:34 +00:00
test-rekey = []
autobasis = ["rand_chacha", "rand"]
2025-05-05 17:46:34 +00:00
modal-testing = ["ux-api", "modals/modal-testing"]
2025-04-28 19:03:36 +00:00
test-scrollbars = []
test-flash = []
2025-09-09 15:11:30 +00:00
ctap-bringup = ["xous-usb-hid"]
2025-10-28 10:02:33 +00:00
# this is mutually exclusive with the keystore, as keystore owns rram
rramtests = []
# Activating this makes this crate *try* to grab the DUART. To improve its odds
# of winning the race, shift its position to first in the list in the PIDs to be
# loaded and run.
duart-debug-hal = ["bao1x-hal/debug-print-duart"]
default = ["with-pddb"]