From 18aaddd415a6c2bbde3975fd845c669c1875a485 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Sep 2025 20:34:16 +0000 Subject: [PATCH] Update rand requirement from 0.8 to 0.9 Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/0.8.5...rand_core-0.9.2) --- updated-dependencies: - dependency-name: rand dependency-version: 0.9.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- algorithms/linfa-ensemble/Cargo.toml | 2 +- algorithms/linfa-ftrl/Cargo.toml | 2 +- algorithms/linfa-hierarchical/Cargo.toml | 2 +- algorithms/linfa-reduction/Cargo.toml | 2 +- algorithms/linfa-trees/Cargo.toml | 2 +- algorithms/linfa-tsne/Cargo.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7d99e1dbe..203693955 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ serde = ["serde_crate", "ndarray/serde"] [dependencies] num-traits = "0.2" -rand = { version = "0.8", features = ["small_rng"] } +rand = { version = "0.9", features = ["small_rng"] } approx = "0.5" ndarray = { version = "0.16", features = ["approx"] } diff --git a/algorithms/linfa-ensemble/Cargo.toml b/algorithms/linfa-ensemble/Cargo.toml index 72122a113..59c1f1bc0 100644 --- a/algorithms/linfa-ensemble/Cargo.toml +++ b/algorithms/linfa-ensemble/Cargo.toml @@ -29,7 +29,7 @@ features = ["std", "derive"] [dependencies] ndarray = { version = "0.16", features = ["rayon", "approx"] } ndarray-rand = "0.15" -rand = "0.8.5" +rand = "0.9.2" linfa = { version = "0.8.0", path = "../.." } linfa-trees = { version = "0.8.0", path = "../linfa-trees" } diff --git a/algorithms/linfa-ftrl/Cargo.toml b/algorithms/linfa-ftrl/Cargo.toml index 1e3845c87..56d6d12b8 100644 --- a/algorithms/linfa-ftrl/Cargo.toml +++ b/algorithms/linfa-ftrl/Cargo.toml @@ -29,7 +29,7 @@ ndarray-rand = "0.15.0" argmin = { version = "0.11.0", default-features = false } argmin-math = { version = "0.5", features = ["ndarray_v0_16-nolinalg"] } thiserror = "2.0" -rand = "0.8.5" +rand = "0.9.2" rand_xoshiro = "0.6.0" linfa = { version = "0.8.0", path = "../.." } diff --git a/algorithms/linfa-hierarchical/Cargo.toml b/algorithms/linfa-hierarchical/Cargo.toml index f278aa468..cb526d549 100644 --- a/algorithms/linfa-hierarchical/Cargo.toml +++ b/algorithms/linfa-hierarchical/Cargo.toml @@ -28,7 +28,7 @@ linfa = { version = "0.8.0", path = "../.." } linfa-kernel = { version = "0.8.0", path = "../linfa-kernel" } [dev-dependencies] -rand = "0.8" +rand = "0.9" ndarray-rand = "0.15" linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [ "iris", diff --git a/algorithms/linfa-reduction/Cargo.toml b/algorithms/linfa-reduction/Cargo.toml index df33a82af..504bd92d1 100644 --- a/algorithms/linfa-reduction/Cargo.toml +++ b/algorithms/linfa-reduction/Cargo.toml @@ -40,7 +40,7 @@ ndarray-linalg = { version = "0.17", optional = true } ndarray-rand = "0.15" num-traits = "0.2" thiserror = "2.0" -rand = { version = "0.8", features = ["small_rng"] } +rand = { version = "0.9", features = ["small_rng"] } linfa = { version = "0.8.0", path = "../.." } linfa-kernel = { version = "0.8.0", path = "../linfa-kernel" } diff --git a/algorithms/linfa-trees/Cargo.toml b/algorithms/linfa-trees/Cargo.toml index b2cf64e1c..76e5a9892 100644 --- a/algorithms/linfa-trees/Cargo.toml +++ b/algorithms/linfa-trees/Cargo.toml @@ -30,7 +30,7 @@ ndarray-rand = "0.15" linfa = { version = "0.8.0", path = "../.." } [dev-dependencies] -rand = { version = "0.8", features = ["small_rng"] } +rand = { version = "0.9", features = ["small_rng"] } criterion = "0.5" approx = "0.5" linfa-datasets = { version = "0.8.0", path = "../../datasets/", features = [ diff --git a/algorithms/linfa-tsne/Cargo.toml b/algorithms/linfa-tsne/Cargo.toml index f65b740e8..9b9239c5c 100644 --- a/algorithms/linfa-tsne/Cargo.toml +++ b/algorithms/linfa-tsne/Cargo.toml @@ -23,7 +23,7 @@ pdqselect = "=0.1.0" linfa = { version = "0.8.0", path = "../.." } [dev-dependencies] -rand = "0.8" +rand = "0.9" approx = "0.5" linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [