xous-core/services/modals/Cargo.toml
bunnie 821c6ce47c cleanup dependency tree going down to the cramium-hal layer
remove features that we don't need so as to make the tree as
simple as possible to descend

in particular if we're just pinging the HAL layer for some simple
constants we don't have to pull in the hairball of std targets
2025-05-20 14:38:03 +08:00

56 lines
1.8 KiB
TOML

[package]
name = "modals"
version = "0.1.0"
authors = ["bunnie <bunnie@kosagi.com>"]
edition = "2018"
description = "Ux modals server"
# Dependency versions enforced by Cargo.lock.
[dependencies]
xous = "0.9.66"
log-server = { package = "xous-api-log", version = "0.1.65" }
ticktimer-server = { package = "xous-api-ticktimer", version = "0.9.65" }
xous-names = { package = "xous-api-names", version = "0.9.67" }
log = "0.4.14"
num-derive = { version = "0.4.2", default-features = false }
num-traits = { version = "0.2.14", default-features = false }
xous-ipc = "0.10.6"
rkyv = { version = "0.8.8", default-features = false, features = [
"std",
"alloc",
] }
gam = { path = "../gam", optional = true }
trng = { path = "../trng", optional = true }
cram-hal-service = { path = "../cram-hal-service", optional = true } # provides trng for cramium-soc
tts-frontend = { path = "../tts", optional = true }
locales = { path = "../../locales" }
bit_field = "0.9.0"
cramium-api = { path = "../../libs/cramium-api", optional = true }
cramium-emu = { path = "../cramium-emu", optional = true }
blitstr2 = { path = "../../libs/blitstr2" }
ux-api = { path = "../../libs/ux-api", optional = true, features = ["std"] }
[features]
no-gam = []
precursor = ["trng", "gam", "tts-frontend"]
hosted = ["trng", "gam", "tts-frontend"]
renode = ["trng", "gam", "tts-frontend"]
cramium-soc = ["cram-hal-service", "no-gam"]
hosted-baosec = ["ux-api/hosted-baosec", "cramium-emu", "cramium-api", "no-gam"]
board-baosec = [
"ux-api/board-baosec",
"cramium-api",
"no-gam",
"cram-hal-service/board-baosec",
"cramium-soc",
]
doc-deps = ["gam", "ux-api/doc-deps"]
modal-testing = []
tts = []
ditherpunk = []
hazardous-debug = []
# "gam" is required for cargo doc to run successfully
default = []