From d65108e13e69e766256a4f10a9d43ab826a4c4a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 31 Dec 2023 17:25:55 +0000 Subject: [PATCH] Bump rustls-pemfile from 1.0.4 to 2.0.0 Bumps [rustls-pemfile](https://github.com/rustls/pemfile) from 1.0.4 to 2.0.0. - [Release notes](https://github.com/rustls/pemfile/releases) - [Commits](https://github.com/rustls/pemfile/compare/v/1.0.4...v/2.0.0) --- updated-dependencies: - dependency-name: rustls-pemfile dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 20 ++++++++++++++++++-- clash_lib/Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 02cfd5b53..81fbb715f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -885,7 +885,7 @@ dependencies = [ "rand", "regex", "rustls", - "rustls-pemfile", + "rustls-pemfile 2.0.0", "security-framework", "serde", "serde_json", @@ -1859,7 +1859,7 @@ dependencies = [ "rand", "ring 0.16.20", "rustls", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "serde", "thiserror", "tinyvec", @@ -3421,6 +3421,22 @@ dependencies = [ "base64 0.21.5", ] +[[package]] +name = "rustls-pemfile" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35e4980fa29e4c4b212ffb3db068a564cbf560e51d3944b7c88bd8bf5bec64f4" +dependencies = [ + "base64 0.21.5", + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e9d979b3ce68192e42760c7810125eb6cf2ea10efae545a156063e61f314e2a" + [[package]] name = "rustls-webpki" version = "0.101.7" diff --git a/clash_lib/Cargo.toml b/clash_lib/Cargo.toml index 26395a87c..2f1e0124d 100644 --- a/clash_lib/Cargo.toml +++ b/clash_lib/Cargo.toml @@ -82,7 +82,7 @@ hickory-proto = { version = "0.24", features = ["dns-over-rustls", "dns-over-htt # DoH # ideally we should make a CryptoProvider with boringssl and get rid of rings rustls = { version = "0.21", features=["dangerous_configuration"] } -rustls-pemfile = "1.0.4" +rustls-pemfile = "2.0.0" webpki-roots = "0.25" dhcproto = "0.11"