--- a/Cargo.toml
+++ b/Cargo.toml
@@ -126,5 +126,5 @@
 [dev-dependencies.rand]
-version = "0.9"
+version = "0.10"
 
 [dev-dependencies.rand_xorshift]
-version = "0.4"
+version = "0.5"
--- a/src/iter/mod.rs
+++ b/src/iter/mod.rs
@@ -421,3 +421,3 @@
     /// ```
-    /// use rand::Rng;
+    /// use rand::RngExt;
     /// use rayon::prelude::*;
@@ -529,3 +529,3 @@
     /// ```
-    /// use rand::{Rng, TryRngCore};
+    /// use rand::{Rng, TryRng};
     /// use rayon::prelude::*;
@@ -648,3 +648,3 @@
     /// ```
-    /// use rand::Rng;
+    /// use rand::RngExt;
     /// use rayon::prelude::*;
--- a/src/iter/test.rs
+++ b/src/iter/test.rs
@@ -7,3 +7,3 @@
 use rand::distr::StandardUniform;
-use rand::{Rng, SeedableRng};
+use rand::{RngExt, SeedableRng};
 use rand_xorshift::XorShiftRng;
--- a/src/slice/sort.rs
+++ b/src/slice/sort.rs
@@ -1614,3 +1614,3 @@
     use rand::distr::Uniform;
-    use rand::{rng, Rng};
+    use rand::{rng, RngExt};
 
--- a/src/slice/test.rs
+++ b/src/slice/test.rs
@@ -5,3 +5,3 @@
 use rand::seq::IndexedRandom;
-use rand::{rng, Rng};
+use rand::{rng, RngExt};
 use std::cmp::Ordering::{Equal, Greater, Less};
--- a/tests/sort-panic-safe.rs
+++ b/tests/sort-panic-safe.rs
@@ -1,3 +1,3 @@
 use rand::distr::Uniform;
-use rand::{rng, Rng};
+use rand::{rng, RngExt};
 use rayon::prelude::*;
--- a/tests/str.rs
+++ b/tests/str.rs
@@ -1,3 +1,3 @@
 use rand::distr::StandardUniform;
-use rand::{Rng, SeedableRng};
+use rand::{RngExt, SeedableRng};
 use rand_xorshift::XorShiftRng;
