diff --git a/sprs-benches/Cargo.toml b/sprs-benches/Cargo.toml index aee81886..2c28c6e0 100644 --- a/sprs-benches/Cargo.toml +++ b/sprs-benches/Cargo.toml @@ -8,7 +8,7 @@ edition.workspace = true [dependencies] sprs = { version = "0.11.0", path = "../sprs" } -sprs-rand = { version = "0.4.0", path = "../sprs-rand" } +sprs-rand = { version = "0.5.0", path = "../sprs-rand" } plotters = "0.3.4" pyo3 = { version = "0.28.0", features = ["auto-initialize"] } diff --git a/sprs-rand/Cargo.toml b/sprs-rand/Cargo.toml index 34b7299f..ad1407ee 100644 --- a/sprs-rand/Cargo.toml +++ b/sprs-rand/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sprs-rand" description = "Random sparse matrix generation" -version = "0.4.0" +version = "0.5.0" authors = ["Vincent Barrielle "] documentation = "https://docs.rs/sprs-rand" rust-version.workspace = true @@ -9,7 +9,7 @@ license.workspace = true edition.workspace = true [dependencies] -rand = "0.9.0" -rand_distr = "0.5.0" -rand_pcg = "0.9.0" +rand = "0.10.0" +rand_distr = "0.6.0" +rand_pcg = "0.10.0" sprs = { version = "0.11.0", path = "../sprs" } diff --git a/sprs-rand/src/lib.rs b/sprs-rand/src/lib.rs index f1b3e62f..d51c0d4b 100644 --- a/sprs-rand/src/lib.rs +++ b/sprs-rand/src/lib.rs @@ -2,6 +2,7 @@ use crate::rand::distr::Distribution; use crate::rand::Rng; +use crate::rand::RngExt; use crate::rand::SeedableRng; use sprs::indexing::SpIndex; use sprs::{CsMat, CsMatI};