From aaec26e5b08c08e910a210cb7e4a0c23c35e41fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 13 Aug 2023 08:51:28 +0000 Subject: [PATCH] Bump rustls from 0.20.8 to 0.21.6 Bumps [rustls](https://github.com/rustls/rustls) from 0.20.8 to 0.21.6. - [Release notes](https://github.com/rustls/rustls/releases) - [Commits](https://github.com/rustls/rustls/compare/v/0.20.8...v/0.21.6) --- updated-dependencies: - dependency-name: rustls dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 28 +++++++++++++++++++++++++--- clash_lib/Cargo.toml | 2 +- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7ae063ace..48533d3e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -597,7 +597,7 @@ dependencies = [ "public-suffix", "rand", "regex", - "rustls", + "rustls 0.21.6", "security-framework", "serde", "serde_yaml", @@ -2209,6 +2209,18 @@ dependencies = [ "webpki", ] +[[package]] +name = "rustls" +version = "0.21.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1feddffcfcc0b33f5c6ce9a29e341e4cd59c3f78e7ee45f4a40c038b1d6cbb" +dependencies = [ + "log", + "ring", + "rustls-webpki", + "sct", +] + [[package]] name = "rustls-pemfile" version = "1.0.3" @@ -2218,6 +2230,16 @@ dependencies = [ "base64 0.21.2", ] +[[package]] +name = "rustls-webpki" +version = "0.101.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "261e9e0888cba427c3316e6322805653c9425240b6fd96cee7cb671ab70ab8d0" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "rustversion" version = "1.0.14" @@ -2694,7 +2716,7 @@ version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "rustls", + "rustls 0.20.8", "tokio", "webpki", ] @@ -2920,7 +2942,7 @@ dependencies = [ "ipnet", "lazy_static", "rand", - "rustls", + "rustls 0.20.8", "rustls-pemfile", "smallvec", "thiserror", diff --git a/clash_lib/Cargo.toml b/clash_lib/Cargo.toml index 61a8c5120..7fb39aeca 100644 --- a/clash_lib/Cargo.toml +++ b/clash_lib/Cargo.toml @@ -53,7 +53,7 @@ serde_yaml = "0.9" trust-dns-client = "0.22" trust-dns-proto = { version = "0.22", features = ["dns-over-rustls", "dns-over-https-rustls"]} # DoH -rustls = { version = "0.20", features=["dangerous_configuration"] } +rustls = { version = "0.21", features=["dangerous_configuration"] } webpki-roots = "0.22" dhcproto = "0.8"