From 579ee2ee85dc72c8a87b69f0084fce18fd235175 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Tue, 29 Aug 2023 19:06:00 -0400 Subject: [PATCH] Change sysfuss to online dependency --- backend/Cargo.lock | 2 ++ backend/Cargo.toml | 2 +- backend/src/settings/util.rs | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/Cargo.lock b/backend/Cargo.lock index fe94411..9174e48 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -1331,6 +1331,8 @@ dependencies = [ [[package]] name = "sysfuss" version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fa4dd5879b3fd41aff63991a59970cdfeced6f0d5920c5da0937279904d9f45" [[package]] name = "termcolor" diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 6c86f35..3b6d7ae 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -15,7 +15,7 @@ readme = "../README.md" usdpl-back = { version = "0.10.1", features = ["blocking"] }#, path = "../../usdpl-rs/usdpl-back"} serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -sysfuss = { version = "0.2", path = "../../sysfs-nav", features = ["derive"] } +sysfuss = { version = "0.2", features = ["derive"] }#, path = "../../sysfs-nav" } # async tokio = { version = "*", features = ["time"] } diff --git a/backend/src/settings/util.rs b/backend/src/settings/util.rs index cede8f6..47b98c5 100644 --- a/backend/src/settings/util.rs +++ b/backend/src/settings/util.rs @@ -61,6 +61,7 @@ mod test { online: status, clock_limits: None, governor: "schedutil".to_owned(), + root: Some("/".to_owned()), } } }