aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2021-03-03 20:07:43 -0500
committerChristine Dodrill <me@christine.website>2021-03-03 20:07:43 -0500
commitb10c09750495bee3fc4b8aa9de39abc668bd4ad7 (patch)
tree52b781c8a31ff3c391cc149666990d7458406ca0 /Cargo.toml
parentd978995f7925f7680d880077e8c046a68245758d (diff)
downloadxesite-b10c09750495bee3fc4b8aa9de39abc668bd4ad7.tar.xz
xesite-b10c09750495bee3fc4b8aa9de39abc668bd4ad7.zip
fix build on windows
Signed-off-by: Christine Dodrill <me@christine.website>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index c4ba3c4..bee6dd2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,7 +23,6 @@ mime = "0.3.0"
prometheus = { version = "0.11", default-features = false, features = ["process"] }
rand = "0"
reqwest = { version = "0.11", features = ["json"] }
-sdnotify = { version = "0.1", default-features = false }
serde_dhall = "0.10.0"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.8"
@@ -45,6 +44,10 @@ jsonfeed = { path = "./lib/jsonfeed" }
mi = { path = "./lib/mi" }
patreon = { path = "./lib/patreon" }
+# os-specific dependencies
+[target.'cfg(linux)'.dependencies]
+sdnotify = { version = "0.1", default-features = false }
+
[build-dependencies]
ructe = { version = "0.13", features = ["warp02"] }