2021-01-16 20:02:08 +00:00
|
|
|
[package]
|
|
|
|
|
authors = ["bunnie <bunnie@kosagi.com>"]
|
|
|
|
|
description = "Graphical Abstraction Manager for Xous"
|
2021-03-26 12:22:33 +00:00
|
|
|
edition = "2018"
|
|
|
|
|
name = "gam"
|
|
|
|
|
version = "0.1.0"
|
2021-01-16 20:02:08 +00:00
|
|
|
|
2022-06-10 13:36:53 +00:00
|
|
|
# Dependency versions enforced by Cargo.lock.
|
2021-01-16 20:02:08 +00:00
|
|
|
[dependencies]
|
2024-01-14 16:14:39 +00:00
|
|
|
com = { path = "../com" } # used by the backlight setting on the main menu thread
|
|
|
|
|
content-plugin-api = { path = "../content-plugin-api" }
|
|
|
|
|
graphics-server = { path = "../graphics-server" }
|
|
|
|
|
ime-plugin-api = { path = "../ime-plugin-api" }
|
|
|
|
|
ime-plugin-shell = { path = "../ime-plugin-shell" }
|
2024-05-21 18:24:10 +00:00
|
|
|
keyboard = { path = "../keyboard", optional = true }
|
2022-01-10 07:39:55 +00:00
|
|
|
log = "0.4.14"
|
2026-01-29 11:12:00 +00:00
|
|
|
log-server = { package = "xous-api-log", version = "0.1.69" }
|
|
|
|
|
ticktimer-server = { package = "xous-api-ticktimer", version = "0.9.70" }
|
2024-05-21 18:24:10 +00:00
|
|
|
trng = { path = "../trng", optional = true }
|
2026-01-29 11:12:00 +00:00
|
|
|
xous = "0.9.70"
|
|
|
|
|
xous-ipc = "0.10.10"
|
|
|
|
|
xous-names = { package = "xous-api-names", version = "0.9.71" }
|
2025-02-17 10:27:36 +00:00
|
|
|
blitstr2 = { path = "../../libs/blitstr2" }
|
2025-02-21 09:47:32 +00:00
|
|
|
ux-api = { path = "../../libs/ux-api", default-features = false }
|
2021-01-16 20:02:08 +00:00
|
|
|
|
2024-12-02 10:52:59 +00:00
|
|
|
num-derive = { version = "0.4.2", default-features = false }
|
2024-01-14 16:14:39 +00:00
|
|
|
num-traits = { version = "0.2.14", default-features = false }
|
2024-09-22 06:28:16 +00:00
|
|
|
rkyv = { version = "0.8.8", default-features = false, features = [
|
|
|
|
|
"std",
|
|
|
|
|
"alloc",
|
2024-01-14 16:14:39 +00:00
|
|
|
] }
|
2021-01-16 20:02:08 +00:00
|
|
|
|
2026-01-27 16:36:05 +00:00
|
|
|
susres = { path = "../../api/xous-api-susres", package = "xous-api-susres", optional = true } # used for the sleep now menu item
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x-hal-service = { path = "../bao1x-hal-service", optional = true, default-features = false }
|
2021-06-18 16:25:18 +00:00
|
|
|
|
2024-01-14 16:14:39 +00:00
|
|
|
enum_dispatch = "0.3.7" # used for trait-based dispatch off of multiple layout objects.
|
|
|
|
|
locales = { path = "../../locales" }
|
2021-06-16 09:41:47 +00:00
|
|
|
|
2024-01-14 16:14:39 +00:00
|
|
|
tts-frontend = { path = "../tts" }
|
2022-03-08 19:48:12 +00:00
|
|
|
|
2022-04-08 04:16:15 +00:00
|
|
|
qrcode = { version = "0.12", default-features = false }
|
2022-07-26 19:59:12 +00:00
|
|
|
miniz_oxide = "0.4.4"
|
|
|
|
|
# pix = "0.13"
|
2022-04-08 04:16:15 +00:00
|
|
|
|
2022-07-05 20:52:14 +00:00
|
|
|
# used in bip39 dialogue
|
|
|
|
|
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
|
2024-01-31 17:42:18 +00:00
|
|
|
sha2 = { version = "0.10.8" }
|
2022-07-05 20:52:14 +00:00
|
|
|
digest = "0.9.0"
|
2026-04-20 13:15:32 +00:00
|
|
|
subtle = { version = "2.6", default-features = false }
|
2022-07-05 20:52:14 +00:00
|
|
|
|
2026-01-29 11:12:00 +00:00
|
|
|
utralib = { version = "0.1.27", optional = true, default-features = false }
|
2021-01-16 20:02:08 +00:00
|
|
|
|
|
|
|
|
[features]
|
2024-05-21 18:24:10 +00:00
|
|
|
precursor = [
|
|
|
|
|
"utralib/precursor",
|
|
|
|
|
"sha2/precursor",
|
|
|
|
|
"keyboard",
|
|
|
|
|
"trng",
|
|
|
|
|
"susres",
|
2025-02-21 09:47:32 +00:00
|
|
|
"ux-api/precursor"
|
2024-05-21 18:24:10 +00:00
|
|
|
]
|
2025-02-21 09:47:32 +00:00
|
|
|
hosted = ["utralib/hosted", "sha2/hosted", "keyboard", "trng", "susres", "ux-api/hosted"]
|
|
|
|
|
renode = ["utralib/renode", "sha2/renode", "keyboard", "trng", "susres", "ux-api/renode"]
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x = ["utralib/bao1x", "bao1x-hal-service"]
|
2021-01-16 20:02:08 +00:00
|
|
|
debugprint = []
|
2022-03-08 19:48:12 +00:00
|
|
|
tts = []
|
2021-01-16 20:02:08 +00:00
|
|
|
# default = ["debugprint"] # "debugprint"
|
2021-04-16 10:57:34 +00:00
|
|
|
default = []
|
2022-06-13 19:03:43 +00:00
|
|
|
ditherpunk = []
|
2024-01-14 16:14:39 +00:00
|
|
|
unsafe-app-loading = [
|
|
|
|
|
] # allow new contexts to be registered dynamically - this is unsafe and should not be set for release builds.
|