From 0bdd8e3510ae83af1504f0c144acde168e052311 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Tue, 31 May 2022 08:44:44 -0700 Subject: [PATCH] Upgrade listenfd to v1.0.0 (#4197) Previously, `listenfd` depended on an old version of the `uuid` crate which caused cargo deny failures. https://github.com/mitsuhiko/listenfd/pull/13 upgrades the `uuid` dependency and a new version of `listenfd` is published. This change moves to the latest version of `listenfd`. --- Cargo.lock | 14 ++++---------- Cargo.toml | 2 +- deny.toml | 5 ----- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7f81b5bd08..160b11804b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -298,7 +298,7 @@ dependencies = [ "cap-std", "rand 0.8.5", "rustix", - "uuid 1.0.0", + "uuid", ] [[package]] @@ -1579,12 +1579,12 @@ checksum = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7" [[package]] name = "listenfd" -version = "0.3.5" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e514e2cb8a9624701346ea3e694c1766d76778e343e537d873c1c366e79a7" +checksum = "14e4fcc00ff6731d94b70e16e71f43bda62883461f31230742e3bc6dddf12988" dependencies = [ "libc", - "uuid 0.8.2", + "uuid", "winapi", ] @@ -2999,12 +2999,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "uuid" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" - [[package]] name = "uuid" version = "1.0.0" diff --git a/Cargo.toml b/Cargo.toml index 8f47c827d1..3525d8e791 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ target-lexicon = { version = "0.12.0", default-features = false } libc = "0.2.60" humantime = "2.0.0" lazy_static = "1.4.0" -listenfd = "0.3.5" +listenfd = "1.0.0" [target.'cfg(unix)'.dependencies] rustix = "0.33.7" diff --git a/deny.toml b/deny.toml index 1f926f6ab3..036c996d0c 100644 --- a/deny.toml +++ b/deny.toml @@ -40,9 +40,4 @@ skip-tree = [ # This is somewhat unmaintained at this point and seems to pull in an old # version of `env_logger`, so ignore it. { name = "pretty_env_logger", depth = 20 }, - - # This crate depends on an old version of the `uuid` crate: `wasmtime-cli -> - # listenfd -> uuid`. Once `listenfd` upgrades to `uuid` v1.0.0, this can be - # removed. - { name = "listenfd", depth = 20 }, ]