From 97bd5ae24cc1c866b6468dea08099462668412db Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 25 Jan 2021 07:38:35 +0000 Subject: [PATCH] Bump tokio from 1.0.2 to 1.1.0 Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.0.2 to 1.1.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.0.2...tokio-1.1.0) Signed-off-by: dependabot-preview[bot] --- Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- crates/shadowsocks-service/Cargo.toml | 2 +- crates/shadowsocks/Cargo.toml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c168bd01..7e782ee0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1970,9 +1970,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.0.2" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca04cec6ff2474c638057b65798f60ac183e5e79d3448bb7163d36a39cff6ec" +checksum = "8efab2086f17abcddb8f756117665c958feee6b2e39974c2f1600592ab3a4195" dependencies = [ "autocfg", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 9516fb3b..0ad00e3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -116,7 +116,7 @@ cfg-if = "1" qrcode = { version = "0.12", default-features = false } futures = "0.3" -tokio = { version = "1.0", features = ["rt", "signal"] } +tokio = { version = "1.1", features = ["rt", "signal"] } mimalloc = { version = "0.1", optional = true } tcmalloc = { version = "0.3", optional = true } @@ -131,4 +131,4 @@ daemonize = "0.4" byteorder = "1.3" env_logger = "0.8" byte_string = "1.0" -tokio = { version = "1.0", features = ["net", "time", "macros", "io-util"]} +tokio = { version = "1.1", features = ["net", "time", "macros", "io-util"]} diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index b2c82bac..44683fe9 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -80,7 +80,7 @@ byteorder = "1.3" rand = { version = "0.8", optional = true } futures = "0.3" -tokio = { version = "1.0", features = ["io-util", "macros", "net", "parking_lot", "rt", "sync", "time"] } +tokio = { version = "1.1", features = ["io-util", "macros", "net", "parking_lot", "rt", "sync", "time"] } tokio-native-tls = { version = "0.3", optional = true } native-tls = { version = "0.2.7", optional = true, features = ["alpn"] } tokio-rustls = { version = "0.22", optional = true } diff --git a/crates/shadowsocks/Cargo.toml b/crates/shadowsocks/Cargo.toml index 7fac66e8..ef5c66b5 100644 --- a/crates/shadowsocks/Cargo.toml +++ b/crates/shadowsocks/Cargo.toml @@ -51,7 +51,7 @@ async-trait = "0.1" mio = "0.7" socket2 = "0.3" -tokio = { version = "1.0", features = ["io-util", "macros", "net", "parking_lot", "process", "rt"] } +tokio = { version = "1.1", features = ["io-util", "macros", "net", "parking_lot", "process", "rt"] } trust-dns-resolver = { version = "0.20", optional = true } arc-swap = { version = "1.2", optional = true }