Skip to content

Commit a04694d

Browse files
authored
Bump crates
2 parents 49e91c7 + 0b3a08e commit a04694d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ exclude = [".gitignore", ".github", ".gitmodules", "examples", "benches", "light
2020
[dependencies]
2121
lightgbm3-sys = { path = "lightgbm3-sys", version = "1" }
2222
serde_json = "1"
23-
polars = { version = "0.45", optional = true }
23+
polars = { version = "0.46", optional = true }
2424

2525
[features]
2626
default = []
@@ -35,6 +35,6 @@ path = "benches/regression.rs"
3535
harness = false
3636

3737
[dev-dependencies]
38-
rand = "0.8"
39-
rand_distr = "0.4"
38+
rand = "0.9"
39+
rand_distr = "0.5"
4040
csv = "1.3"

benches/regression.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use std::hint::black_box;
55
use std::time::Instant;
66

77
fn generate_train_data() -> (Vec<f64>, Vec<f32>) {
8-
let mut rng = rand::thread_rng();
9-
let uniform = rand_distr::Uniform::<f64>::new(-5.0, 5.0);
8+
let mut rng = rand::rng();
9+
let uniform = rand_distr::Uniform::<f64>::new(-5.0, 5.0).unwrap();
1010
let normal = rand_distr::Normal::<f64>::new(0.0, 0.1).unwrap();
1111

1212
let mut x: Vec<f64> = vec![];

0 commit comments

Comments
 (0)