27 lines
1.1 KiB
TOML
27 lines
1.1 KiB
TOML
[package]
|
|
name = "redbear-sessiond"
|
|
version = "0.3.0"
|
|
edition = "2024"
|
|
|
|
[[bin]]
|
|
name = "redbear-sessiond"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
zbus = { version = "5", default-features = false, features = ["tokio"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
libredox = { path = "../../../../../local/sources/libredox" }
|
|
redox-syscall = { path = "../../../../../local/sources/syscall", package = "redox_syscall" }
|
|
# Patch tokio to recover from transient EBADF/EINVAL on Redox's scheme:event
|
|
# epoll. Without this, redbear-sessiond panics during early-boot scheme
|
|
# churn. The patch lives at local/patches/tokio/P0-epoll-redox-recovery.patch
|
|
# and must be regenerated when tokio is upgraded. Remove this override once
|
|
# tokio upstream ships a Redox-specific recovery arm (or once Redox's
|
|
# epoll scheme is stabilized to never return EBADF/EINVAL under normal use).
|
|
[patch.crates-io]
|
|
tokio = { path = "../../../../../local/patches/tokio/vendored" }
|
|
libredox = { path = "../../../../../local/sources/libredox" }
|
|
redox_syscall = { path = "../../../../../local/sources/syscall" }
|