From b01d8d21d964789a1cebd08ea506b837371e767e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Aug 2023 12:07:45 +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 73a8088fb..de5dcec1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -595,7 +595,7 @@ dependencies = [ "prost", "rand", "regex", - "rustls", + "rustls 0.21.6", "security-framework", "serde", "serde_yaml", @@ -2195,6 +2195,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" @@ -2204,6 +2216,16 @@ dependencies = [ "base64 0.21.2", ] +[[package]] +name = "rustls-webpki" +version = "0.101.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "513722fd73ad80a71f72b61009ea1b584bcfa1483ca93949c8f290298837fa59" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "rustversion" version = "1.0.14" @@ -2680,7 +2702,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", ] @@ -2906,7 +2928,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 6806a292c..0d6cb5f21 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"