xous-core/libs/ux-api/Cargo.toml
bunnie 1255bf12d9 FLAG DAY: fix all names to harmonize around 'bao1x'
The code base had evolved through several code names, interim
names, company names and chip names that alternatively did or did
not exist.

Baochip is the definitive name of the company, and the Baochip1x
(full part number BAO1X2S4F-WA) is the definitivey part number of
the SoC. For convenience, the part number is shortened to 'bao1x'
in most feature flags and variable references.

This commit fixes all of the odd names and removes some unmaintained
early targets.
2025-09-18 21:25:51 +08:00

82 lines
2 KiB
TOML

[package]
name = "ux-api"
version = "0.1.0"
edition = "2021"
[dependencies]
xous = "0.9.66"
xous-ipc = { version = "0.10.6", optional = true }
xous-names = { package = "xous-api-names", version = "0.9.67", optional = true }
log = "0.4.14"
num-derive = { version = "0.4.2", default-features = false }
num-traits = { version = "0.2.14", default-features = false }
rkyv = { version = "0.8.8", default-features = false, features = [
"std",
"alloc",
], optional = true }
zeroize = "1.8.1"
enum_dispatch = "0.3.7"
blitstr2 = { path = "../blitstr2", optional = true }
# used in notifications
locales = { path = "../../locales", optional = true }
qrcode = { version = "0.12", default-features = false, optional = true }
# used in bip39 dialogue
hex = { version = "0.4.3", default-features = false, features = [
"alloc",
], optional = true }
sha2 = { version = "0.10.8", optional = true }
digest = { version = "0.9.0", optional = true }
base64 = { version = "0.5.2", optional = true }
[features]
# various feature gates - recommended to be selective about these because
# any feature included but not used will still generate the code to handle it
ditherpunk = []
textentry = []
bip39entry = []
radiobuttons = []
checkboxes = []
slider = []
notification = []
consoleinput = []
default-widgets = [
"textentry",
"bip39entry",
"radiobuttons",
"checkboxes",
"slider",
"notification",
# "consoleinput",
]
# board definition is used to define things like the size of the screen.
board-baosec = ["blitstr2/board-baosec"]
loader-baosec = []
board-baosor = []
loader-baosor = []
hosted-baosec = ["blitstr2/hosted-baosec"]
# Used by font codegen routine
hosted = ["blitstr2/hosted"]
renode = ["blitstr2/renode"]
bao1x = []
precursor = ["blitstr2/precursor"]
derive-rkyv = ["rkyv"]
doc-deps = ["hosted", "blitstr2/hosted"]
std = [
"derive-rkyv",
"locales",
"qrcode",
"xous-ipc",
"hex",
"sha2",
"digest",
"base64",
"xous-names",
]
default = ["std", "default-widgets"]