2024-11-07 08:14:29 +00:00
|
|
|
[package]
|
|
|
|
|
name = "bao-video"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x-hal = { path = "../../libs/bao1x-hal", features = [
|
2025-09-09 14:24:55 +00:00
|
|
|
"std",
|
|
|
|
|
], optional = true, default-features = false }
|
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" }
|
2024-11-07 08:14:29 +00:00
|
|
|
log = "0.4.14"
|
2024-12-02 10:52:59 +00:00
|
|
|
num-derive = { version = "0.4.2", default-features = false }
|
2024-11-07 08:14:29 +00:00
|
|
|
num-traits = { version = "0.2.14", default-features = false }
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x-hal-service = { path = "../bao1x-hal-service", optional = true }
|
2025-02-01 23:02:53 +00:00
|
|
|
ux-api = { path = "../../libs/ux-api" }
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x-emu = { path = "../bao1x-emu", optional = true }
|
|
|
|
|
bao1x-api = { path = "../../libs/bao1x-api" }
|
2025-02-23 04:05:00 +00:00
|
|
|
blitstr2 = { path = "../../libs/blitstr2" }
|
2026-01-29 11:12:00 +00:00
|
|
|
xous-ipc = "0.10.10"
|
2025-02-23 04:05:00 +00:00
|
|
|
rkyv = { version = "0.8.8", default-features = false, features = [
|
|
|
|
|
"std",
|
|
|
|
|
"alloc",
|
|
|
|
|
] }
|
2025-05-05 17:47:55 +00:00
|
|
|
modals = { path = "../modals", optional = true }
|
2026-04-26 09:32:05 +00:00
|
|
|
susres = { package = "xous-api-susres", path = "../../api/xous-api-susres" }
|
2024-11-07 08:14:29 +00:00
|
|
|
|
|
|
|
|
# QR decoding
|
|
|
|
|
libm = { version = "0.2.8" }
|
|
|
|
|
nalgebra = { version = "0.33", default-features = false, features = ["libm"] }
|
2025-09-06 14:47:48 +00:00
|
|
|
rqrr = { git = "https://github.com/betrusted-io/rqrr.git", branch = "rv32-opt" }
|
2025-08-19 14:44:15 +00:00
|
|
|
base64 = { version = "0.22.1", optional = true }
|
2024-11-07 08:14:29 +00:00
|
|
|
|
|
|
|
|
locales = { path = "../../locales" }
|
|
|
|
|
|
2026-04-23 07:14:27 +00:00
|
|
|
# diffusion dithering
|
|
|
|
|
rand = { version = "0.8.5", features = ["getrandom"] }
|
|
|
|
|
rand_core = "0.6.4"
|
|
|
|
|
getrandom = "=0.2.12"
|
|
|
|
|
|
2024-11-07 08:14:29 +00:00
|
|
|
[features]
|
2025-05-05 17:47:55 +00:00
|
|
|
no-gam = ["modals/no-gam"]
|
2025-02-26 06:46:47 +00:00
|
|
|
gfx-testing = []
|
2025-02-23 04:05:00 +00:00
|
|
|
ditherpunk = []
|
|
|
|
|
|
2025-02-13 09:30:04 +00:00
|
|
|
# This crate is baosec specific; these flags switch between hosted mode emulation
|
|
|
|
|
# (for UI development) and actual hardware targets. In UI development all camera data
|
|
|
|
|
# is "faked"
|
2025-02-28 09:31:14 +00:00
|
|
|
board-baosec = [
|
2025-09-18 13:25:51 +00:00
|
|
|
"bao1x-hal-service",
|
|
|
|
|
"bao1x-hal",
|
2025-02-28 09:31:14 +00:00
|
|
|
"ux-api/board-baosec",
|
|
|
|
|
"blitstr2/board-baosec",
|
2025-05-05 17:47:55 +00:00
|
|
|
"no-gam",
|
2025-02-28 09:31:14 +00:00
|
|
|
]
|
2026-01-24 15:51:22 +00:00
|
|
|
oem-baosec-lite = ["bao1x-hal/oem-baosec-lite"]
|
2025-09-18 13:25:51 +00:00
|
|
|
hosted-baosec = ["bao1x-emu", "ux-api/hosted-baosec", "no-gam"]
|
2025-02-13 09:30:04 +00:00
|
|
|
|
2025-02-23 04:05:00 +00:00
|
|
|
# temporary feature - remove after we have properly created a camera control API
|
|
|
|
|
autotest = []
|
2026-04-12 16:03:42 +00:00
|
|
|
# factory feature - makes it keep on scanning forever - used for calibrating factory test jigs
|
|
|
|
|
eternal-scan = []
|
2025-02-23 04:05:00 +00:00
|
|
|
|
2026-03-23 09:23:58 +00:00
|
|
|
with-logo = []
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x = ["utralib/bao1x", "blitstr2/bao1x"]
|
2025-08-19 14:44:15 +00:00
|
|
|
b64-export = ["base64"]
|
2025-02-20 07:06:15 +00:00
|
|
|
default = [
|
2025-09-09 14:24:55 +00:00
|
|
|
# "b64-export",
|
2025-08-19 14:44:15 +00:00
|
|
|
# "decongest-udma",
|
2025-05-21 02:23:15 +00:00
|
|
|
# "autotest",
|
2025-02-26 06:46:47 +00:00
|
|
|
# "gfx-testing",
|
2025-02-20 07:06:15 +00:00
|
|
|
# "hosted-baosec",
|
|
|
|
|
] # hosted-baosec should be removed for commit, this is only here to make vscode happy
|