aboutsummaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-10 18:06:37 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-10 18:06:37 +0200
commit3fe8ba7f1b9fa7e38fa03f55fd898c8ca2a0e996 (patch)
treec3913fce710a879e2375c60a2b78e0cad483de18 /server/src/main.rs
parentf78856e4cd4928c790748b883b7916585980b3dd (diff)
downloadhurrycurry-3fe8ba7f1b9fa7e38fa03f55fd898c8ca2a0e996.tar
hurrycurry-3fe8ba7f1b9fa7e38fa03f55fd898c8ca2a0e996.tar.bz2
hurrycurry-3fe8ba7f1b9fa7e38fa03f55fd898c8ca2a0e996.tar.zst
Update to newest rust; replace rand with std random
Diffstat (limited to 'server/src/main.rs')
-rw-r--r--server/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index 7ab19f30..be0bb005 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -47,6 +47,7 @@ pub(crate) struct Args {
listen: SocketAddr,
/// Enables submissions to the public server registry
#[arg(long)]
+ #[cfg(feature = "register")]
register: bool,
/// Enables the mDNS responder for local network discovery
#[cfg(feature = "mdns")]