From 5be1b72a4a8983099e8da13a922d19d0d33648fe Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Tue, 2 Apr 2024 00:09:04 +0000 Subject: [PATCH] Update Rust crate hostname to 0.4.0 --- rust/Cargo.lock | 24 ++++++++++++++---------- rust/sea_battle_cli_player/Cargo.toml | 2 +- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index fcd8c72..2a2f086 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -964,13 +964,13 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hostname" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" +checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" dependencies = [ + "cfg-if", "libc", - "match_cfg", - "winapi", + "windows", ] [[package]] @@ -1234,12 +1234,6 @@ version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" -[[package]] -name = "match_cfg" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" - [[package]] name = "memchr" version = "2.7.1" @@ -2437,6 +2431,16 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +dependencies = [ + "windows-core", + "windows-targets 0.52.0", +] + [[package]] name = "windows-core" version = "0.52.0" diff --git a/rust/sea_battle_cli_player/Cargo.toml b/rust/sea_battle_cli_player/Cargo.toml index 6f57eed..6ad7482 100644 --- a/rust/sea_battle_cli_player/Cargo.toml +++ b/rust/sea_battle_cli_player/Cargo.toml @@ -28,7 +28,7 @@ tokio-tungstenite = { version = "0.21.0", features = ["__rustls-tls", "rustls-tl serde_urlencoded = "0.7.1" futures = "0.3.30" serde_json = "1.0.114" -hostname = "0.3.1" +hostname = "0.4.0" rustls = "0.22.2" reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false } rustls-native-certs = {version = "0.7.0"} -- 2.45.2