Files
RedBear-OS/local/recipes/system/redbear-upower/source/Cargo.toml
T

21 lines
828 B
TOML

[package]
name = "redbear-upower"
version = "0.3.1"
edition = "2024"
[[bin]]
name = "redbear-upower"
path = "src/main.rs"
[dependencies]
zbus = { version = "5", default-features = false, features = ["tokio"] }
# Minimal tokio feature set. Avoids the unstable tokio::signal::unix
# backend on Redox (the `signal` feature pulls in libc::kill and a
# signal-handler registration path that is not fully implemented in
# relibc, and a page fault on `enable_all()` was observed during
# redbear-upower startup). Redox manages daemon lifecycle through the
# init system, not POSIX signals, so a signal handler is not needed
# here. Macros are enabled for tokio::select! and tokio::pin!.
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "net", "time", "sync"] }
serde = { version = "1", features = ["derive"] }