diff --git a/Cargo.toml b/Cargo.toml
index 1193e8acf776c290ee1d1c74cfbc0de3d9089f80..dfbed59a0cc93d145ca6298f461ed69afc7e594b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,7 +10,7 @@ repository = "https://gitlab.epfl.ch/randl/proximity"
 
 [dependencies]
 npyz = "0.8.3"
-rand = "*"
+rand = "0.8.5"
 
 [dev-dependencies]
 quickcheck = "1.0.3"