Files
RedBear-OS/local/recipes/system/redbear-power/source/Cargo.toml
T
vasilito 9e6851d43c USB: P3 scheme service wrapper — redbear-ftdi registers /scheme/ttys/usbFTDI_<N>
Same pattern as acmd: FtdiScheme with Mutex<XhciEndpHandle>,
SchemeSync impl, Socket::create() + register on Redox,
stdout fallback on host/Linux.
2026-07-07 19:24:46 +03:00

31 lines
879 B
TOML

[package]
name = "redbear-power"
version = "0.3.0"
edition = "2024"
[[bin]]
name = "redbear-power"
path = "src/main.rs"
[dependencies]
ratatui = { version = "0.30", default-features = false, features = ["termion", "macros"] }
termion = "4"
zbus = { version = "5", default-features = false, features = ["tokio"] }
tokio = { version = "1", default-features = false, features = ["rt", "rt-multi-thread", "macros"] }
toml = "0.8"
dirs = "5"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
[target.'cfg(target_os = "redox")'.dependencies]
libredox = { path = "../../../../../local/sources/libredox", features = ["call", "redox_syscall", "protocol"] }
syscall = { package = "redox_syscall", path = "../../../../../local/sources/syscall" }
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"