Skip to content

Commit b256ccf

Browse files
committed
imports
Signed-off-by: Robert Kruszewski <github@robertk.io>
1 parent 66a3d03 commit b256ccf

38 files changed

Lines changed: 83 additions & 60 deletions

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pyo3 = { version = "0.27.0" }
197197
pyo3-bytes = "0.5"
198198
pyo3-log = "0.13.0"
199199
quote = "1.0.41"
200-
rand = "0.9.0"
200+
rand = "0.10.0"
201201
rand_distr = "0.6"
202202
ratatui = { version = "0.30", default-features = false }
203203
regex = "1.11.0"
@@ -298,7 +298,7 @@ vortex-tui = { path = "./vortex-tui" }
298298
[workspace.dependencies.getrandom_v03]
299299
features = ["wasm_js"]
300300
package = "getrandom"
301-
version = "0.3.1"
301+
version = "0.4.0"
302302

303303
[workspace.lints.rust]
304304
let_underscore_drop = "deny"

benchmarks/random-access-bench/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use anyhow::Result;
99
use clap::Parser;
1010
use clap::ValueEnum;
1111
use indicatif::ProgressBar;
12-
use rand::Rng;
12+
use rand::RngExt;
1313
use rand::SeedableRng;
1414
use rand::rngs::StdRng;
1515
use rand_distr::Distribution;

encodings/alp/benches/alp_compress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#![allow(clippy::unwrap_used)]
55

66
use divan::Bencher;
7-
use rand::Rng;
7+
use rand::RngExt;
88
use rand::SeedableRng as _;
99
use rand::rngs::StdRng;
1010
use vortex_alp::ALPFloat;

encodings/fastlanes/benches/bitpacking_take.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#![allow(clippy::cast_possible_truncation)]
66

77
use divan::Bencher;
8-
use rand::Rng;
8+
use rand::RngExt;
99
use rand::SeedableRng;
1010
use rand::distr::Uniform;
1111
use rand::prelude::StdRng;

encodings/fastlanes/benches/compute_between.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#![expect(clippy::unwrap_used)]
44

55
use num_traits::NumCast;
6-
use rand::Rng;
6+
use rand::RngExt;
77
use rand::rngs::StdRng;
88
use vortex_alp::ALPArray;
99
use vortex_alp::alp_encode;

encodings/fastlanes/src/bitpacking/array/bitpack_compress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ fn bytes_per_exception(ptype: PType) -> usize {
380380

381381
#[cfg(feature = "_test-harness")]
382382
pub mod test_harness {
383-
use rand::Rng as _;
383+
use rand::RngExt;
384384
use rand::rngs::StdRng;
385385
use vortex_array::ArrayRef;
386386
use vortex_array::IntoArray;

encodings/fastlanes/src/bitpacking/compute/take.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ fn take_primitive<T: NativePType + BitPacking, I: IntegerPType>(
147147
#[cfg(test)]
148148
#[allow(clippy::cast_possible_truncation)]
149149
mod test {
150-
use rand::Rng;
150+
use rand::RngExt;
151151
use rand::distr::Uniform;
152152
use rand::rng;
153153
use rstest::rstest;

encodings/fsst/benches/fsst_compress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use std::sync::LazyLock;
77

88
use divan::Bencher;
9-
use rand::Rng;
9+
use rand::RngExt;
1010
use rand::SeedableRng;
1111
use rand::rngs::StdRng;
1212
use vortex_array::IntoArray;

encodings/fsst/src/canonical.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub(crate) fn fsst_decode_views(
8888
mod tests {
8989
use std::sync::LazyLock;
9090

91-
use rand::Rng;
91+
use rand::RngExt;
9292
use rand::SeedableRng;
9393
use rand::prelude::StdRng;
9494
use vortex_array::ArrayRef;

0 commit comments

Comments
 (0)