From a49a5983b61b55574f2235e68e7912b165b85457 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Apr 2023 03:20:06 +0000 Subject: [PATCH] Bump tokio-rustls from 0.23.4 to 0.24.0 Bumps [tokio-rustls](https://github.com/tokio-rs/tls) from 0.23.4 to 0.24.0. - [Release notes](https://github.com/tokio-rs/tls/releases) - [Commits](https://github.com/tokio-rs/tls/commits) --- updated-dependencies: - dependency-name: tokio-rustls dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 44 +++++++++++++++++++++++---- crates/shadowsocks-service/Cargo.toml | 2 +- 2 files changed, 39 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 820e834235d2..6adf640a3c86 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2083,6 +2083,18 @@ dependencies = [ "webpki", ] +[[package]] +name = "rustls" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07180898a28ed6a7f7ba2311594308f595e3dd2e3c3812fa0a80a47b45f17e5d" +dependencies = [ + "log", + "ring", + "rustls-webpki", + "sct", +] + [[package]] name = "rustls-native-certs" version = "0.6.2" @@ -2104,6 +2116,16 @@ dependencies = [ "base64", ] +[[package]] +name = "rustls-webpki" +version = "0.100.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "ryu" version = "1.0.12" @@ -2422,7 +2444,7 @@ dependencies = [ "thiserror", "tokio", "tokio-native-tls", - "tokio-rustls", + "tokio-rustls 0.24.0", "tower", "trust-dns-resolver", "tun", @@ -2741,11 +2763,21 @@ version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "rustls", + "rustls 0.20.8", "tokio", "webpki", ] +[[package]] +name = "tokio-rustls" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0d409377ff5b1e3ca6437aa86c1eb7d40c134bfec254e44c830defa92669db5" +dependencies = [ + "rustls 0.21.0", + "tokio", +] + [[package]] name = "tokio-tfo" version = "0.2.0" @@ -2867,14 +2899,14 @@ dependencies = [ "ipnet", "lazy_static", "rand", - "rustls", + "rustls 0.20.8", "rustls-pemfile", "serde", "smallvec", "thiserror", "tinyvec", "tokio", - "tokio-rustls", + "tokio-rustls 0.23.4", "tracing", "url", "webpki", @@ -2894,12 +2926,12 @@ dependencies = [ "lru-cache", "parking_lot", "resolv-conf", - "rustls", + "rustls 0.20.8", "serde", "smallvec", "thiserror", "tokio", - "tokio-rustls", + "tokio-rustls 0.23.4", "tracing", "trust-dns-proto", "webpki-roots", diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index d5c2e2ce32f6..012e567f232f 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -96,7 +96,7 @@ futures = "0.3" tokio = { version = "1.5", features = ["io-util", "macros", "net", "parking_lot", "rt", "sync", "time"] } tokio-native-tls = { version = "0.3", optional = true } native-tls = { version = "0.2.8", optional = true, features = ["alpn"] } -tokio-rustls = { version = "0.23", optional = true } +tokio-rustls = { version = "0.24", optional = true } webpki-roots = { version = "0.22", optional = true } rustls-native-certs = { version = "0.6.1", optional = true } async-trait = "0.1"