Support systemd only on unix
[valheim_web.git] / backend / Cargo.toml
index c41e05d..351f710 100644 (file)
@@ -10,10 +10,13 @@ actix-rt = "1"
 actix-files = "0.2"
 serde = { version = "1.0", features = ["derive"] }
 
-listenfd = "0.3" # To watch file modifications and automatically launch a build process (only used in dev/debug).
 ron = "0.6" # Rust object notation, to load configuration files.
 itertools = "0.10"
 
+sysinfo = "0.16"
+
+cached = "0.23"
+
 futures = "0.3" # Needed by askam with the feature 'with-actix-web'.
 
 common = { path = "../common" }
@@ -22,3 +25,6 @@ common = { path = "../common" }
 [dependencies.askama]
 version = "0.9"
 features = ["with-actix-web"]
+
+[target.'cfg(unix)'.dependencies]
+systemd = "0.8"
\ No newline at end of file