From c4c92cfb465f94484ef41665588919fcb6a2ec55 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 02:45:46 +0000 Subject: [PATCH 1/3] Update getrandom requirement from 0.2.7 to 0.3.0 Updates the requirements on [getrandom](https://github.com/rust-random/getrandom) to permit the latest version. - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.2.7...v0.3.0) --- updated-dependencies: - dependency-name: getrandom dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 25ec5ba..242ca5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ async-channel = "2.0.0" async-net = "2.0.0" blocking = "1" criterion = { version = "0.4", default-features = false, features = ["cargo_bench_support"] } -getrandom = "0.2.7" +getrandom = "0.3.0" signal-hook = "0.3" tempfile = "3" From 7b5806f350f528f468239f990f767a9b6622d8b2 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Tue, 28 Jan 2025 01:10:06 +0900 Subject: [PATCH 2/3] Update io.rs --- benches/io.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/io.rs b/benches/io.rs index 3ad16fc..a0a1a65 100644 --- a/benches/io.rs +++ b/benches/io.rs @@ -102,7 +102,7 @@ fn connect_and_accept(c: &mut Criterion) { use std::os::unix::net::{UnixListener, UnixStream}; let mut id = [0u8; 8]; - getrandom::getrandom(&mut id).unwrap(); + getrandom::fill(&mut id).unwrap(); let id = u64::from_ne_bytes(id); let socket_addr = format!("/tmp/async-io-bench-{}.sock", id); From 36db5d235dbc728a43e4ca513eb7c92680c656a7 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Tue, 28 Jan 2025 01:10:33 +0900 Subject: [PATCH 3/3] Update Cargo.toml --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 242ca5c..9ff68c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ async-channel = "2.0.0" async-net = "2.0.0" blocking = "1" criterion = { version = "0.4", default-features = false, features = ["cargo_bench_support"] } -getrandom = "0.3.0" +getrandom = "0.3" signal-hook = "0.3" tempfile = "3"