--- a/Cargo.toml
+++ b/Cargo.toml
@@ -73,2 +73,2 @@
-rand = { version = "0.9.2", default-features = false, features = [
-  "small_rng",
+rand = { version = "0.10", default-features = false, features = [
+#  "small_rng",
--- a/src/builtins/random.rs
+++ b/src/builtins/random.rs
@@ -7 +7 @@
-use rand::{Rng as _, RngCore as _};
+use rand::{Rng as _, RngExt as _};
--- a/src/history/history.rs
+++ b/src/history/history.rs
@@ -48 +48 @@
-use rand::Rng as _;
+use rand::{Rng as _, RngExt as _};
