Skip to content

Commit 6bbc1df

Browse files
taiki-ecramertj
authored andcommitted
Update rand dependency to 0.7
1 parent 413d5dd commit 6bbc1df

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

futures-util/Cargo.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name = "futures_util"
1717
[features]
1818
std = ["alloc", "futures-core-preview/std", "futures-io-preview/std", "futures-sink-preview/std", "slab", "memchr"]
1919
default = ["std"]
20-
async-await = ["std", "futures-select-macro-preview", "proc-macro-hack", "proc-macro-nested", "rand", "rand_core"]
20+
async-await = ["std", "futures-select-macro-preview", "proc-macro-hack", "proc-macro-nested", "rand"]
2121
compat = ["std", "futures_01"]
2222
io-compat = ["compat", "tokio-io"]
2323
bench = []
@@ -34,8 +34,7 @@ futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.16",
3434
futures-select-macro-preview = { path = "../futures-select-macro", version = "=0.3.0-alpha.16", default-features = false, optional = true }
3535
proc-macro-hack = { version = "0.5", optional = true }
3636
proc-macro-nested = { version = "0.1.2", optional = true }
37-
rand = { version = "0.6.4", optional = true }
38-
rand_core = { version = ">=0.2.2, <0.4", optional = true } # See https://github.com/rust-random/rand/issues/645
37+
rand = { version = "0.7.0", optional = true }
3938
slab = { version = "0.4", optional = true }
4039
memchr = { version = "2.2", optional = true }
4140
futures_01 = { version = "0.1.25", optional = true, package = "futures" }

0 commit comments

Comments
 (0)