summaryrefslogtreecommitdiff
path: root/server/Cargo.toml
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-06-27 21:10:41 +0200
committermetamuffin <metamuffin@disroot.org>2025-06-27 21:10:41 +0200
commite4a1afec7a999858efdf3eb256101b5400bacbb3 (patch)
tree2408164ee703f4563a05833bf9d70de082d4cfe5 /server/Cargo.toml
parent636c3ae17e8bf5ebc088b7c6a4a237e354f96e8e (diff)
downloadhurrycurry-e4a1afec7a999858efdf3eb256101b5400bacbb3.tar
hurrycurry-e4a1afec7a999858efdf3eb256101b5400bacbb3.tar.bz2
hurrycurry-e4a1afec7a999858efdf3eb256101b5400bacbb3.tar.zst
read windows registry to detect data dir
Diffstat (limited to 'server/Cargo.toml')
-rw-r--r--server/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/Cargo.toml b/server/Cargo.toml
index 2bd47507..9834c86a 100644
--- a/server/Cargo.toml
+++ b/server/Cargo.toml
@@ -35,6 +35,9 @@ hurrycurry-protocol = { path = "protocol" }
hurrycurry-client-lib = { path = "client-lib" }
hurrycurry-bot = { path = "bot" }
+[target.'cfg(windows)'.dependencies]
+windows-registry = "0.5"
+
[features]
default = ["mdns", "register", "upnp"]
mdns = ["dep:mdns-sd", "dep:get_if_addrs"]