From 2c871bbc968391cfc7c20771bd1850a749659ef3 Mon Sep 17 00:00:00 2001 From: Will Stott Date: Sat, 24 Aug 2024 17:31:34 +0100 Subject: [PATCH] Bump libmdns from 0.8.0 to 0.9.1 --- Cargo.lock | 49 +++++++++----------------------------------- Cargo.toml | 2 +- discovery/Cargo.toml | 2 +- 3 files changed, 12 insertions(+), 41 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a50203ce..24fe042c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1004,13 +1004,13 @@ dependencies = [ [[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 0.52.0", ] [[package]] @@ -1278,9 +1278,9 @@ dependencies = [ [[package]] name = "if-addrs" -version = "0.11.1" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624c5448ba529e74f594c65b7024f31b2de7b64a9b228b8df26796bbb6e32c36" +checksum = "bb2a33e9c38988ecbda730c85b0fd9ddcdf83c0305ac7fd21c8bb9f57f2f0cc8" dependencies = [ "libc", "windows-sys 0.52.0", @@ -1461,9 +1461,9 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libmdns" -version = "0.8.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ed6677a7ef3e8d47432fc827d0ebf0ee77c3e3bc4a3e632d9b92433ef86f70c" +checksum = "48854699e11b111433431b69cee2365fcab0b29b06993f48c257dfbaf6395862" dependencies = [ "byteorder", "futures-util", @@ -1471,12 +1471,10 @@ dependencies = [ "if-addrs", "log", "multimap", - "nix", "rand", "socket2", "thiserror", "tokio", - "winapi", ] [[package]] @@ -1770,27 +1768,12 @@ dependencies = [ "libc", ] -[[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.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" -[[package]] -name = "memoffset" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" -dependencies = [ - "autocfg", -] - [[package]] name = "mime" version = "0.3.17" @@ -1831,9 +1814,9 @@ checksum = "956787520e75e9bd233246045d19f42fb73242759cc57fba9611d940ae96d4b0" [[package]] name = "multimap" -version = "0.9.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1a5d38b9b352dbd913288736af36af41c48d61b1a8cd34bcecd727561b7d511" +checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" dependencies = [ "serde", ] @@ -1867,18 +1850,6 @@ dependencies = [ "jni-sys", ] -[[package]] -name = "nix" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" -dependencies = [ - "bitflags 2.5.0", - "cfg-if", - "libc", - "memoffset", -] - [[package]] name = "no-std-compat" version = "0.4.1" diff --git a/Cargo.toml b/Cargo.toml index bb213136..b99531b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,7 @@ version = "0.5.0-dev" [dependencies] data-encoding = "2.5" env_logger = { version = "0.11.2", default-features = false, features = ["color", "humantime", "auto-color"] } -futures-util = { version = "0.3", default_features = false } +futures-util = { version = "0.3", default-features = false } getopts = "0.2" log = "0.4" rpassword = "7.0" diff --git a/discovery/Cargo.toml b/discovery/Cargo.toml index e333a6eb..8076d8e4 100644 --- a/discovery/Cargo.toml +++ b/discovery/Cargo.toml @@ -22,7 +22,7 @@ hmac = "0.12" hyper = { version = "1.3", features = ["http1"] } hyper-util = { version = "0.1", features = ["server-auto", "server-graceful", "service"] } http-body-util = "0.1.1" -libmdns = "0.8" +libmdns = "0.9" log = "0.4" rand = "0.8" serde_json = "1.0"