From 9e9e104664d8574c7480f0800e08326f56254f6f Mon Sep 17 00:00:00 2001 From: Yosi Pramajaya Date: Sun, 10 Jan 2021 19:20:47 +0700 Subject: upgrade: tokio 0.1 in test_util crate (#8885) This commit upgrades "tokio" and crates from tokio ecosystem in "test_util" crate. --- test_util/Cargo.toml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'test_util/Cargo.toml') diff --git a/test_util/Cargo.toml b/test_util/Cargo.toml index 6eee12ebc..3831c68f1 100644 --- a/test_util/Cargo.toml +++ b/test_util/Cargo.toml @@ -12,16 +12,17 @@ name = "test_server" path = "src/test_server.rs" [dependencies] -tokio = { version = "0.2.22", features = ["full"] } -futures = "0.3.8" -bytes = "0.5.6" +tokio = { version = "1.0", features = ["full"] } +futures = "0.3" +bytes = "1" lazy_static = "1.4.0" -os_pipe = "0.9.2" +os_pipe = "0.9" regex = "1.3.9" tempfile = "3.1.0" -hyper = "0.13" -tokio-tungstenite = "0.11" -tokio-rustls = "0.14" +hyper = { version = "0.14.2", features = ["server", "http1", "runtime"] } +tokio-tungstenite = "0.13" +tokio-rustls = "0.22" +async-stream = "0.3.0" [target.'cfg(unix)'.dependencies] pty = "0.2.2" -- cgit v1.2.3