diff --git a/Cargo.toml b/Cargo.toml
index a0f62ae..92c8a51 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -127,7 +127,7 @@ default-features = false
 version = "1.15.1"
 
 [dev-dependencies.rand]
-version = "0.9.2"
+version = "0.10"
 
 #[target.wasm32-unknown-unknown.dev-dependencies.getrandom]
 #version = "0.3.3"
diff --git a/examples/quad_intersect.rs b/examples/quad_intersect.rs
index 8aa9f32..b3174b1 100644
--- a/examples/quad_intersect.rs
+++ b/examples/quad_intersect.rs
@@ -6,7 +6,7 @@
 
 use arrayvec::ArrayVec;
 use kurbo::{common::solve_quartic, ParamCurve, Point, QuadBez, Shape};
-use rand::Rng;
+use rand::RngExt;
 
 fn rand_point() -> Point {
     let mut rng = rand::rng();
