From 5986ecb5c7362fc7c338c93fe22b30528c2efb52 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 29 Jun 2019 13:23:44 +0900 Subject: [PATCH] Update rand dependency to 0.7 --- futures-util/Cargo.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/futures-util/Cargo.toml b/futures-util/Cargo.toml index 1c668b45b1..bb5daa4d62 100644 --- a/futures-util/Cargo.toml +++ b/futures-util/Cargo.toml @@ -17,7 +17,7 @@ name = "futures_util" [features] std = ["alloc", "futures-core-preview/std", "futures-io-preview/std", "futures-sink-preview/std", "slab", "memchr"] default = ["std"] -async-await = ["std", "futures-select-macro-preview", "proc-macro-hack", "proc-macro-nested", "rand", "rand_core"] +async-await = ["std", "futures-select-macro-preview", "proc-macro-hack", "proc-macro-nested", "rand"] compat = ["std", "futures_01"] io-compat = ["compat", "tokio-io"] bench = [] @@ -34,8 +34,7 @@ futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.16", futures-select-macro-preview = { path = "../futures-select-macro", version = "=0.3.0-alpha.16", default-features = false, optional = true } proc-macro-hack = { version = "0.5", optional = true } proc-macro-nested = { version = "0.1.2", optional = true } -rand = { version = "0.6.4", optional = true } -rand_core = { version = ">=0.2.2, <0.4", optional = true } # See https://github.com/rust-random/rand/issues/645 +rand = { version = "0.7.0", optional = true } slab = { version = "0.4", optional = true } memchr = { version = "2.2", optional = true } futures_01 = { version = "0.1.25", optional = true, package = "futures" }