From 9e58b37ad57835a48a4d1016f33f899db14c91c5 Mon Sep 17 00:00:00 2001 From: Nikhil Benesch Date: Wed, 18 Mar 2020 18:18:53 -0400 Subject: [PATCH] tokio-util: fix minimum supported version of tokio (#2326) tokio-util uses tokio::stream::StreamExt, which was not introduced until tokio v0.2.5. The current dependency specification is incorrect, and breaks with cargo update -Z minimal-versions. --- tokio-util/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-util/Cargo.toml b/tokio-util/Cargo.toml index f0740199e..97ecc60a8 100644 --- a/tokio-util/Cargo.toml +++ b/tokio-util/Cargo.toml @@ -31,7 +31,7 @@ codec = ["tokio/stream"] udp = ["tokio/udp"] [dependencies] -tokio = { version = "0.2.0", path = "../tokio" } +tokio = { version = "0.2.5", path = "../tokio" } bytes = "0.5.0" futures-core = "0.3.0"