Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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 @@ -56,7 +56,7 @@ once_cell = "1.18.0"
os_pipe = "1.1.4"
paste = "1.0.14"
pin-project-lite = "0.2.16"
rand = "0.9.0"
rand = "0.10.0"
rustls = { version = "0.23.1", default-features = false }
rustls-platform-verifier = "0.6.0"
rustls-native-certs = "0.8.0"
Expand Down
2 changes: 1 addition & 1 deletion compio-quic/benches/quic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::{
use compio_buf::bytes::Bytes;
use criterion::{BenchmarkId, Criterion, Throughput};
use futures_util::{StreamExt, stream::FuturesUnordered};
use rand::{RngCore, rng};
use rand::{Rng, rng};

macro_rules! compio_spawn {
($fut:expr) => {
Expand Down
2 changes: 1 addition & 1 deletion compio-quic/tests/echo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use compio_quic::{Endpoint, RecvStream, SendStream, TransportConfig};
mod common;
use common::{config_pair, subscribe};
use futures_util::join;
use rand::{RngCore, SeedableRng, rngs::StdRng};
use rand::{Rng, SeedableRng, rngs::StdRng};

struct EchoArgs {
client_addr: SocketAddr,
Expand Down
2 changes: 1 addition & 1 deletion compio/benches/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use compio_buf::{IntoInner, IoBuf};
use compio_io::{AsyncReadAt, AsyncWriteAt};
use criterion::{Bencher, Criterion, Throughput, criterion_group, criterion_main};
use futures_util::{StreamExt, stream::FuturesUnordered};
use rand::{Rng, RngCore, rng};
use rand::{Rng, RngExt, rng};
use tempfile::NamedTempFile;
use tokio::io::{AsyncReadExt, AsyncSeekExt, AsyncWriteExt};

Expand Down
2 changes: 1 addition & 1 deletion compio/benches/net.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::{net::Ipv4Addr, rc::Rc, time::Instant};

use criterion::{Bencher, Criterion, Throughput, criterion_group, criterion_main};
use rand::{RngCore, rng};
use rand::{Rng, rng};

#[cfg(target_os = "linux")]
mod monoio_wrap;
Expand Down