Support systemd only on unix
[valheim_web.git] / backend / Cargo.toml
index 5a4b1e1..351f710 100644 (file)
@@ -15,6 +15,8 @@ itertools = "0.10"
 
 sysinfo = "0.16"
 
+cached = "0.23"
+
 futures = "0.3" # Needed by askam with the feature 'with-actix-web'.
 
 common = { path = "../common" }
@@ -23,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