From 044cb8384944e10a32affde442de40c4d419b1e8 Mon Sep 17 00:00:00 2001 From: EAimTY Date: Sat, 25 Jun 2022 21:21:33 +0900 Subject: [PATCH] update tokio to 1.19, once_cell to 1.12 --- client/Cargo.toml | 4 ++-- protocol/Cargo.toml | 2 +- server/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/Cargo.toml b/client/Cargo.toml index 983b448..c5e029c 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -20,7 +20,7 @@ env_logger = { version = "0.9", features = ["humantime"], default-features = fal futures-util = { version = "0.3", default-features = false } getopts = "0.2" log = { version = "0.4", features = ["serde", "std"] } -once_cell = "1.10" +once_cell = "1.12" parking_lot = "0.12" quinn = "0.8" rand = "0.8" @@ -33,5 +33,5 @@ socket2 = "0.4" socks5-proto = "0.3" socks5-server = "0.8" thiserror = "1.0" -tokio = { version = "1.18", features = ["io-util", "macros", "net", "parking_lot", "rt-multi-thread", "sync", "time"] } +tokio = { version = "1.19", features = ["io-util", "macros", "net", "parking_lot", "rt-multi-thread", "sync", "time"] } webpki = { version = "0.22", default-features = false } diff --git a/protocol/Cargo.toml b/protocol/Cargo.toml index a8be334..09c0710 100644 --- a/protocol/Cargo.toml +++ b/protocol/Cargo.toml @@ -14,4 +14,4 @@ repository = "https://github.com/EAimTY/tuic" [dependencies] bytes = "1.1" thiserror = "1.0" -tokio = { version = "1.17", default-features = false } +tokio = { version = "1.19", features = ["io-util"] } diff --git a/server/Cargo.toml b/server/Cargo.toml index 221b7fe..99bace6 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -29,4 +29,4 @@ serde = { version = "1.0", features = ["derive", "std"], default-features = fals serde_json = { version = "1.0", features = ["std"], default-features = false } socket2 = "0.4" thiserror = "1.0" -tokio = { version = "1.18", features = ["io-util", "macros", "net", "parking_lot", "rt-multi-thread", "sync", "time"] } +tokio = { version = "1.19", features = ["io-util", "macros", "net", "parking_lot", "rt-multi-thread", "sync", "time"] }