diff --git a/Cargo.lock b/Cargo.lock index f506bd7c0..df5ba6299 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1190,6 +1190,12 @@ dependencies = [ "instant", ] +[[package]] +name = "fastrand" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" + [[package]] name = "fd-lock" version = "3.0.12" @@ -1947,7 +1953,7 @@ dependencies = [ "caps", "chrono", "clone3", - "fastrand", + "fastrand 2.0.0", "futures", "libc", "libcgroups", @@ -3607,7 +3613,7 @@ checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6" dependencies = [ "autocfg", "cfg-if 1.0.0", - "fastrand", + "fastrand 1.9.0", "redox_syscall 0.3.5", "rustix 0.37.19", "windows-sys 0.48.0", diff --git a/crates/libcontainer/Cargo.toml b/crates/libcontainer/Cargo.toml index 92e02e9b9..ba7b0aca0 100644 --- a/crates/libcontainer/Cargo.toml +++ b/crates/libcontainer/Cargo.toml @@ -24,7 +24,7 @@ test_utils = ["dep:rand"] bitflags = "2.3.1" caps = "0.5.5" chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] } -fastrand = "^1.7.0" +fastrand = "^2.0.0" futures = { version = "0.3", features = ["thread-pool"] } libc = "0.2.146" nix = "0.26.2"