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.
This commit is contained in:
Nikhil Benesch
2020-03-18 18:18:53 -04:00
committed by GitHub
parent c3b830110a
commit 9e58b37ad5
+1 -1
View File
@@ -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"