Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion benches/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading