xous-core/services/bao-video/Cargo.toml
2025-09-09 22:24:55 +08:00

67 lines
2.1 KiB
TOML

[package]
name = "bao-video"
version = "0.1.0"
edition = "2021"
[dependencies]
cramium-hal = { path = "../../libs/cramium-hal", features = [
"std",
], optional = true, default-features = false }
utralib = { version = "0.1.25", optional = true, default-features = false }
xous-names = { package = "xous-api-names", version = "0.9.67" }
ticktimer = { package = "xous-api-ticktimer", version = "0.9.65" }
xous = "0.9.66"
log-server = { package = "xous-api-log", version = "0.1.65" }
log = "0.4.14"
num-derive = { version = "0.4.2", default-features = false }
num-traits = { version = "0.2.14", default-features = false }
cram-hal-service = { path = "../cram-hal-service", optional = true }
ux-api = { path = "../../libs/ux-api" }
cramium-emu = { path = "../cramium-emu", optional = true }
cramium-api = { path = "../../libs/cramium-api" }
blitstr2 = { path = "../../libs/blitstr2" }
xous-ipc = "0.10.6"
rkyv = { version = "0.8.8", default-features = false, features = [
"std",
"alloc",
] }
modals = { path = "../modals", optional = true }
# QR decoding
libm = { version = "0.2.8" }
nalgebra = { version = "0.33", default-features = false, features = ["libm"] }
rqrr = { git = "https://github.com/betrusted-io/rqrr.git", branch = "rv32-opt" }
base64 = { version = "0.22.1", optional = true }
locales = { path = "../../locales" }
[features]
no-gam = ["modals/no-gam"]
gfx-testing = []
ditherpunk = []
# 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"
board-baosec = [
"cram-hal-service",
"cramium-hal",
"ux-api/board-baosec",
"blitstr2/board-baosec",
"no-gam",
]
hosted-baosec = ["cramium-emu", "ux-api/hosted-baosec", "no-gam"]
# temporary feature - remove after we have properly created a camera control API
autotest = []
cramium-soc = ["utralib/cramium-soc", "blitstr2/cramium-soc"]
decongest-udma = []
b64-export = ["base64"]
default = [
# "b64-export",
# "decongest-udma",
# "autotest",
# "gfx-testing",
# "hosted-baosec",
] # hosted-baosec should be removed for commit, this is only here to make vscode happy