From 81a5819c98594870a707ee3b5b2a53fd207fc480 Mon Sep 17 00:00:00 2001 From: EAimTY Date: Sun, 5 Feb 2023 22:35:32 +0900 Subject: [PATCH] opt-in tokio feature `io-util` --- tuic-client/Cargo.toml | 2 +- tuic-server/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tuic-client/Cargo.toml b/tuic-client/Cargo.toml index a694194..553493c 100644 --- a/tuic-client/Cargo.toml +++ b/tuic-client/Cargo.toml @@ -22,7 +22,7 @@ socket2 = { version = "0.4.7", default-features = false } socks5-proto = { version = "0.3.3", default-features = false } socks5-server = { version = "0.8.3", default-features = false } thiserror = { version = "1.0.38", default-features = false } -tokio = { version = "1.25.0", default-features = false, features = ["macros", "net", "parking_lot", "rt-multi-thread", "time"] } +tokio = { version = "1.25.0", default-features = false, features = ["io-util", "macros", "net", "parking_lot", "rt-multi-thread", "time"] } tokio-util = { version = "0.7.4", default-features = false, features = ["compat"] } tuic = { version = "5.0.0-pre-alpha5", default-features = false } tuic-quinn = { version = "0.1.0-pre-alpha1", default-features = false } diff --git a/tuic-server/Cargo.toml b/tuic-server/Cargo.toml index ddb3005..aae14b2 100644 --- a/tuic-server/Cargo.toml +++ b/tuic-server/Cargo.toml @@ -18,7 +18,7 @@ serde = { version = "1.0.152", default-features = false, features = ["derive", " serde_json = { version = "1.0.92", default-features = false, features = ["std"] } socket2 = { version = "0.4.7", default-features = false } thiserror = { version = "1.0.38", default-features = false } -tokio = { version = "1.25.0", default-features = false, features = ["macros", "net", "parking_lot", "rt-multi-thread", "time"] } +tokio = { version = "1.25.0", default-features = false, features = ["io-util", "macros", "net", "parking_lot", "rt-multi-thread", "time"] } tokio-util = { version = "0.7.4", default-features = false, features = ["compat"] } tuic = { version = "5.0.0-pre-alpha6", default-features = false } tuic-quinn = { version = "0.1.0-pre-alpha2", default-features = false }