summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2019-06-06 13:15:47 -0600
committerAlan Somers <asomers@gmail.com>2019-06-06 13:15:47 -0600
commit7bf57afd55c6a4e0da6ee06ab3e251de016ac147 (patch)
treede1cab70cc1a504d41a14f39d41350393b5ce143
parente38fd4ffa027e4cd31a3a25c88871733a2cd3822 (diff)
downloadnix-7bf57afd55c6a4e0da6ee06ab3e251de016ac147.zip
Restrict rand dependency to < 0.7
The rand team briefly published (and then yanked) release 0.7.0, which raises the MSRV to 1.32.0, breaking some of our tests. This commit restricts rand to < 0.7 so we won't run into that problem again.
-rw-r--r--Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 3c1260ab..f8e4bee9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ cc = "1"
[dev-dependencies]
bytes = "0.4.8"
lazy_static = "1.2"
-rand = "0.6"
+rand = ">= 0.6, < 0.7"
tempfile = "3.0.5"
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dev-dependencies]