update top level libs and cargo for all the ported-in files

This commit is contained in:
bunnie 2025-02-11 16:24:51 +08:00
parent f7193ae29c
commit c2c1c8bc91
2 changed files with 31 additions and 1 deletions

View file

@ -5,6 +5,8 @@ edition = "2021"
[dependencies]
xous = "0.9.64"
xous-ipc = "0.10.4"
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 = [
@ -14,6 +16,15 @@ rkyv = { version = "0.8.8", default-features = false, features = [
zeroize = "1.8.1"
enum_dispatch = "0.3.7"
# used in notifications
locales = { path = "../../locales" }
qrcode = { version = "0.12", default-features = false }
# used in bip39 dialogue
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
sha2 = { version = "0.10.8" }
digest = "0.9.0"
[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
@ -33,8 +44,19 @@ default-widgets = [
"checkboxes",
"slider",
"notification",
"consoleinput",
# "consoleinput",
]
# board definition is used to define things like the size of the screen.
board-baosec = []
board-baosor = []
hosted-baosec = []
# Used by font codegen routine
hosted = []
renode = []
cramium-soc = []
precursor = []
std = ["rkyv"]
default = ["std", "default-widgets"]

View file

@ -1,4 +1,12 @@
#![cfg_attr(not(feature = "std"), no_std)]
mod blitstr2;
pub mod minigfx;
pub mod widgets;
mod wordwrap;
#[macro_use]
mod style_macros;
mod fontmap;
pub mod platform;
pub const SYSTEM_STYLE: crate::minigfx::GlyphStyle = crate::minigfx::GlyphStyle::Tall;