From edbb47dd038d1dcfb86f957852a70c7e885270e4 Mon Sep 17 00:00:00 2001 From: Akihito Nakano Date: Wed, 3 May 2023 04:12:14 +0000 Subject: [PATCH] Update igd to v0.12.1 (#4257) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Issue Addressed https://github.com/sigp/lighthouse/issues/4171 ## Proposed Changes Through [this PR](https://github.com/sbstp/rust-igd/pull/56) in rust-igd, `igd` v0.12.1 no longer panics if there is an issue while searching for a gateway. So updating igd makes lighthouse emit a helpful log instead of panicking. ## Additional Info No CHANGELOG exists in rust-igd. 👀 Here is the commit history between v0.11.1 and v0.12.1. No breaking changes. https://github.com/sbstp/rust-igd/compare/v0.11.1...v0.12.1 --- Cargo.lock | 17 ++++++++++++----- beacon_node/network/Cargo.toml | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 27f0ee61d0..6bfa6035ab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -423,13 +423,14 @@ checksum = "debc29dde2e69f9e47506b525f639ed42300fc014a3e007832592448fa8e4599" [[package]] name = "attohttpc" -version = "0.10.1" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf13118df3e3dce4b5ac930641343b91b656e4e72c8f8325838b01a4b1c9d45" +checksum = "fdb8867f378f33f78a811a8eb9bf108ad99430d7aad43315dd9319c827ef6247" dependencies = [ "http", "log", "url", + "wildmatch", ] [[package]] @@ -3521,13 +3522,13 @@ dependencies = [ [[package]] name = "igd" -version = "0.11.1" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd32c880165b2f776af0b38d206d1cabaebcf46c166ac6ae004a5d45f7d48ef" +checksum = "556b5a75cd4adb7c4ea21c64af1c48cefb2ce7d43dc4352c720a1fe47c21f355" dependencies = [ "attohttpc", "log", - "rand 0.7.3", + "rand 0.8.5", "url", "xmltree", ] @@ -9478,6 +9479,12 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983" +[[package]] +name = "wildmatch" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f44b95f62d34113cf558c93511ac93027e03e9c29a60dd0fd70e6e025c7270a" + [[package]] name = "winapi" version = "0.3.9" diff --git a/beacon_node/network/Cargo.toml b/beacon_node/network/Cargo.toml index fbc45364aa..a234165d11 100644 --- a/beacon_node/network/Cargo.toml +++ b/beacon_node/network/Cargo.toml @@ -35,7 +35,7 @@ lazy_static = "1.4.0" lighthouse_metrics = { path = "../../common/lighthouse_metrics" } logging = { path = "../../common/logging" } task_executor = { path = "../../common/task_executor" } -igd = "0.11.1" +igd = "0.12.1" itertools = "0.10.0" num_cpus = "1.13.0" lru_cache = { path = "../../common/lru_cache" }