diff options
author | metamuffin <metamuffin@disroot.org> | 2025-09-16 23:16:48 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-09-16 23:16:48 +0200 |
commit | 15fbaa99f1700f15277187ce56f815a55fe5b7cc (patch) | |
tree | e27938387042cc15175b3519ab357dd222ac022e /server | |
parent | 3f98582f903e579d9f47aba48f3976345eabe123 (diff) | |
download | hurrycurry-15fbaa99f1700f15277187ce56f815a55fe5b7cc.tar hurrycurry-15fbaa99f1700f15277187ce56f815a55fe5b7cc.tar.bz2 hurrycurry-15fbaa99f1700f15277187ce56f815a55fe5b7cc.tar.zst |
upgrade deps
Diffstat (limited to 'server')
-rw-r--r-- | server/Cargo.toml | 22 | ||||
-rw-r--r-- | server/bot/Cargo.toml | 10 | ||||
-rw-r--r-- | server/client-lib/Cargo.toml | 12 | ||||
-rw-r--r-- | server/discover/Cargo.toml | 14 | ||||
-rw-r--r-- | server/discover/src/main.rs | 5 | ||||
-rw-r--r-- | server/editor/Cargo.toml | 16 | ||||
-rw-r--r-- | server/protocol/Cargo.toml | 4 | ||||
-rw-r--r-- | server/registry/Cargo.toml | 14 | ||||
-rw-r--r-- | server/replaytool/Cargo.toml | 20 |
9 files changed, 60 insertions, 57 deletions
diff --git a/server/Cargo.toml b/server/Cargo.toml index c12d5d9a..ea0ec002 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -5,20 +5,20 @@ edition = "2021" default-run = "hurrycurry-server" [dependencies] -log = "0.4.27" +log = "0.4.28" env_logger = "0.11.8" -anyhow = "1.0.98" -serde = { version = "1.0.219", features = ["derive"] } -tokio = { version = "1.45.1", features = ["full"] } -serde_json = "1.0.140" -tokio-tungstenite = "0.26.2" +anyhow = "1.0.99" +serde = { version = "1.0.225", features = ["derive"] } +tokio = { version = "1.47.1", features = ["full"] } +serde_json = "1.0.145" +tokio-tungstenite = "0.27.0" futures-util = "0.3.31" serde_yml = "0.0.12" -rand = "0.9.1" +rand = "0.9.2" rand_distr = "0.5.1" shlex = "1.3.0" -clap = { version = "4.5.39", features = ["derive"] } -reqwest = { version = "0.12.19", optional = true, default-features = false, features = [ +clap = { version = "4.5.47", features = ["derive"] } +reqwest = { version = "0.12.23", optional = true, default-features = false, features = [ "json", "http2", "charset", @@ -29,14 +29,14 @@ bincode = "2.0.1" directories = "6.0.0" igd = { version = "0.12.1", optional = true, features = ["aio"] } get_if_addrs = { version = "0.5.3", optional = true } -mdns-sd = { version = "0.13.9", optional = true } +mdns-sd = { version = "0.15.1", optional = true } hurrycurry-protocol = { path = "protocol" } hurrycurry-client-lib = { path = "client-lib" } hurrycurry-bot = { path = "bot" } [target.'cfg(windows)'.dependencies] -windows-registry = "0.5" +windows-registry = "0.6" [features] default = ["mdns", "register", "upnp"] diff --git a/server/bot/Cargo.toml b/server/bot/Cargo.toml index 7d265e92..17534947 100644 --- a/server/bot/Cargo.toml +++ b/server/bot/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" [dependencies] hurrycurry-client-lib = { path = "../client-lib", features = ["tokio-network"] } hurrycurry-protocol = { path = "../protocol" } -log = "0.4.27" -anyhow = "1.0.98" +log = "0.4.28" +anyhow = "1.0.99" env_logger = "0.11.8" -rustls = { version = "0.23.27", features = ["ring"] } -clap = { version = "4.5.39", features = ["derive"] } -rand = "0.9.1" +rustls = { version = "0.23.31", features = ["ring"] } +clap = { version = "4.5.47", features = ["derive"] } +rand = "0.9.2" diff --git a/server/client-lib/Cargo.toml b/server/client-lib/Cargo.toml index c1168a3d..b06cbf9f 100644 --- a/server/client-lib/Cargo.toml +++ b/server/client-lib/Cargo.toml @@ -5,17 +5,17 @@ edition = "2021" [dependencies] hurrycurry-protocol = { path = "../protocol" } -tungstenite = { version = "0.26.2", optional = true, features = [ +tungstenite = { version = "0.27.0", optional = true, features = [ "rustls-tls-native-roots", ] } -tokio-tungstenite = { version = "0.26.2", optional = true, features = [ +tokio-tungstenite = { version = "0.27.0", optional = true, features = [ "rustls-tls-native-roots", ] } -tokio = { version = "1.45.1", features = ["net", "sync"], optional = true } -serde_json = "1.0.140" +tokio = { version = "1.47.1", features = ["net", "sync"], optional = true } +serde_json = "1.0.145" bincode = "2.0.1" -log = "0.4.27" -anyhow = "1.0.98" +log = "0.4.28" +anyhow = "1.0.99" futures-util = { version = "0.3.31", optional = true } [features] diff --git a/server/discover/Cargo.toml b/server/discover/Cargo.toml index 9bf0ec11..566b3fa9 100644 --- a/server/discover/Cargo.toml +++ b/server/discover/Cargo.toml @@ -4,17 +4,17 @@ version = "2.3.5" edition = "2021" [dependencies] -mdns-sd = "0.13.9" +mdns-sd = "0.15.1" env_logger = "0.11.8" -log = "0.4.27" -anyhow = "1.0.98" -hyper = { version = "1.6.0", default-features = false, features = [ +log = "0.4.28" +anyhow = "1.0.99" +hyper = { version = "1.7.0", default-features = false, features = [ "server", "http1", ] } -tokio = { version = "1.45.1", features = ["full"] } +tokio = { version = "1.47.1", features = ["full"] } http-body-util = "0.1" hyper-util = { version = "0.1", features = ["full"] } hurrycurry-protocol = { path = "../protocol" } -serde_json = "1.0.140" -clap = { version = "4.5.39", features = ["derive"] } +serde_json = "1.0.145" +clap = { version = "4.5.47", features = ["derive"] } diff --git a/server/discover/src/main.rs b/server/discover/src/main.rs index 0e4fb2a0..7247854d 100644 --- a/server/discover/src/main.rs +++ b/server/discover/src/main.rs @@ -73,7 +73,10 @@ async fn async_main() -> Result<!> { .get_addresses() .iter() .map(|a| { - format!("ws://{}", SocketAddr::new(*a, service_info.get_port())) + format!( + "ws://{}", + SocketAddr::new(a.to_ip_addr(), service_info.get_port()) //? Is is ok to drop ip6 scope? + ) }) .collect(), players_online: service_info diff --git a/server/editor/Cargo.toml b/server/editor/Cargo.toml index d9dacffc..a4fb8bc2 100644 --- a/server/editor/Cargo.toml +++ b/server/editor/Cargo.toml @@ -4,17 +4,17 @@ version = "0.1.0" edition = "2024" [dependencies] -tokio = { version = "1.45.1", features = ["full"] } -serde_json = "1.0.140" -log = "0.4.27" +tokio = { version = "1.47.1", features = ["full"] } +serde_json = "1.0.145" +log = "0.4.28" env_logger = "0.11.8" -anyhow = "1.0.98" -tokio-tungstenite = { version = "0.26.2", features = [ +anyhow = "1.0.99" +tokio-tungstenite = { version = "0.27.0", features = [ "rustls-tls-native-roots", ] } -serde = { version = "1.0.219", features = ["derive"] } -rustls = { version = "0.23.27", features = ["ring"] } -clap = { version = "4.5.39", features = ["derive"] } +serde = { version = "1.0.225", features = ["derive"] } +rustls = { version = "0.23.31", features = ["ring"] } +clap = { version = "4.5.47", features = ["derive"] } futures-util = "0.3.31" shlex = "1.3.0" serde_yml = "0.0.12" diff --git a/server/protocol/Cargo.toml b/server/protocol/Cargo.toml index db1615c7..5905ecb7 100644 --- a/server/protocol/Cargo.toml +++ b/server/protocol/Cargo.toml @@ -4,6 +4,6 @@ version = "10.1.0" edition = "2021" [dependencies] -serde = { version = "1.0.219", features = ["derive"] } -glam = { version = "0.30.3", features = ["serde"] } +serde = { version = "1.0.225", features = ["derive"] } +glam = { version = "0.30.5", features = ["serde"] } bincode = { version = "2.0.1", features = ["serde", "derive"] } diff --git a/server/registry/Cargo.toml b/server/registry/Cargo.toml index f82a0ac4..a7c26883 100644 --- a/server/registry/Cargo.toml +++ b/server/registry/Cargo.toml @@ -4,18 +4,18 @@ version = "2.3.5" edition = "2021" [dependencies] -log = "0.4.27" +log = "0.4.28" env_logger = "0.11.8" -anyhow = "1.0.98" +anyhow = "1.0.99" rocket = { version = "0.5.1", features = ["json"] } -tokio = { version = "1.45.1", features = ["full"] } -serde_json = "1.0.140" +tokio = { version = "1.47.1", features = ["full"] } +serde_json = "1.0.145" markup = "0.15.0" -serde = { version = "1.0.219", features = ["derive"] } -tokio-tungstenite = { version = "0.26.2", features = [ +serde = { version = "1.0.225", features = ["derive"] } +tokio-tungstenite = { version = "0.27.0", features = [ "rustls-tls-native-roots", ] } -rustls = { version = "0.23.27", features = ["ring"] } +rustls = { version = "0.23.31", features = ["ring"] } hurrycurry-protocol = { path = "../protocol" } hurrycurry-client-lib = { path = "../client-lib" } diff --git a/server/replaytool/Cargo.toml b/server/replaytool/Cargo.toml index dfc0db64..cfc50b3a 100644 --- a/server/replaytool/Cargo.toml +++ b/server/replaytool/Cargo.toml @@ -4,19 +4,19 @@ version = "0.1.0" edition = "2021" [dependencies] -log = "0.4.27" +log = "0.4.28" env_logger = "0.11.8" -anyhow = "1.0.98" -serde = { version = "1.0.219", features = ["derive"] } -tokio = { version = "1.45.1", features = ["full"] } -serde_json = "1.0.140" -tokio-tungstenite = { version = "0.26.2", features = [ +anyhow = "1.0.99" +serde = { version = "1.0.225", features = ["derive"] } +tokio = { version = "1.47.1", features = ["full"] } +serde_json = "1.0.145" +tokio-tungstenite = { version = "0.27.0", features = [ "rustls-tls-native-roots", ] } futures-util = "0.3.31" -rand = "0.9.1" -clap = { version = "4.5.39", features = ["derive"] } -async-compression = { version = "0.4.23", features = ["zstd", "tokio"] } -rustls = { version = "0.23.27", features = ["ring"] } +rand = "0.9.2" +clap = { version = "4.5.47", features = ["derive"] } +async-compression = { version = "0.4.30", features = ["zstd", "tokio"] } +rustls = { version = "0.23.31", features = ["ring"] } hurrycurry-protocol = { path = "../protocol" } |