From e252f68cca574fba1549b51a9f0720742ce124ba Mon Sep 17 00:00:00 2001 From: Jim Turner Date: Tue, 23 Jul 2019 10:22:13 -0400 Subject: [PATCH] Fix rand dependency version in rand_distr `rand_distr` works with neither `rand` `0.5.6` (the latest version of `0.5.*`) nor `0.6.5` (the latest version of `0.6.*`). In other words, if I change the dependency to `rand = "0.5"` or `rand = "0.6"`, then `cargo check` fails. --- rand_distr/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rand_distr/Cargo.toml b/rand_distr/Cargo.toml index e319bc482da..e821985d394 100644 --- a/rand_distr/Cargo.toml +++ b/rand_distr/Cargo.toml @@ -19,7 +19,7 @@ travis-ci = { repository = "rust-random/rand" } appveyor = { repository = "rust-random/rand" } [dependencies] -rand = { path = "..", version = ">=0.5, <=0.7" } +rand = { path = "..", version = "0.7" } [dev-dependencies] rand_pcg = { version = "0.2", path = "../rand_pcg" }