Skip to content

Commit aa067e9

Browse files
authored
chore(deps): bump rand from 0.9.2 to 0.10.0 in /native (#3465)
1 parent eb43699 commit aa067e9

7 files changed

Lines changed: 199 additions & 11 deletions

File tree

native/Cargo.lock

Lines changed: 193 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

native/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ chrono = { version = "0.4", default-features = false, features = ["clock"] }
4747
chrono-tz = { version = "0.10" }
4848
futures = "0.3.28"
4949
num = "0.4"
50-
rand = "0.9"
50+
rand = "0.10"
5151
regex = "1.12.3"
5252
thiserror = "2"
5353
object_store = { version = "0.12.3", features = ["gcp", "azure", "aws", "http"] }

native/core/benches/bit_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
use std::{mem::size_of, time::Duration};
1919

20-
use rand::{rng, Rng};
20+
use rand::{rng, RngExt};
2121

2222
use arrow::buffer::Buffer;
2323
use comet::common::bit::{

native/core/benches/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use arrow::{
2323
use rand::{
2424
distr::{Distribution, StandardUniform},
2525
rngs::StdRng,
26-
Rng, SeedableRng,
26+
RngExt, SeedableRng,
2727
};
2828
use std::sync::Arc;
2929

native/core/benches/parquet_read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use comet::parquet::util::test_common::page_util::{
3636
};
3737

3838
use perf::FlamegraphProfiler;
39-
use rand::{prelude::StdRng, Rng, SeedableRng};
39+
use rand::{prelude::StdRng, RngExt, SeedableRng};
4040
use zstd::zstd_safe::WriteBuf;
4141

4242
fn bench(c: &mut Criterion) {

native/core/src/common/bit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ mod tests {
997997

998998
use rand::{
999999
distr::{Distribution, StandardUniform},
1000-
Rng,
1000+
RngExt,
10011001
};
10021002
use std::fmt::Debug;
10031003

native/core/src/parquet/util/test_common/rand_gen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
use rand::{
1919
distr::{uniform::SampleUniform, Distribution, StandardUniform},
20-
rng, Rng,
20+
rng, RngExt,
2121
};
2222

2323
pub fn random_bytes(n: usize) -> Vec<u8> {

0 commit comments

Comments
 (0)