Change sysfuss to online dependency

This commit is contained in:
NGnius (Graham) 2023-08-29 19:06:00 -04:00
parent decc0cd73d
commit 579ee2ee85
3 changed files with 4 additions and 1 deletions

2
backend/Cargo.lock generated
View file

@ -1331,6 +1331,8 @@ dependencies = [
[[package]] [[package]]
name = "sysfuss" name = "sysfuss"
version = "0.2.0" version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fa4dd5879b3fd41aff63991a59970cdfeced6f0d5920c5da0937279904d9f45"
[[package]] [[package]]
name = "termcolor" name = "termcolor"

View file

@ -15,7 +15,7 @@ readme = "../README.md"
usdpl-back = { version = "0.10.1", features = ["blocking"] }#, path = "../../usdpl-rs/usdpl-back"} usdpl-back = { version = "0.10.1", features = ["blocking"] }#, path = "../../usdpl-rs/usdpl-back"}
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
sysfuss = { version = "0.2", path = "../../sysfs-nav", features = ["derive"] } sysfuss = { version = "0.2", features = ["derive"] }#, path = "../../sysfs-nav" }
# async # async
tokio = { version = "*", features = ["time"] } tokio = { version = "*", features = ["time"] }

View file

@ -61,6 +61,7 @@ mod test {
online: status, online: status,
clock_limits: None, clock_limits: None,
governor: "schedutil".to_owned(), governor: "schedutil".to_owned(),
root: Some("/".to_owned()),
} }
} }
} }