From 930bc91f186e64f9c18b404abf515ea43d9fd8b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 04:05:33 +0000 Subject: [PATCH] Bump rustls-pemfile from 1.0.4 to 2.1.1 Bumps [rustls-pemfile](https://github.com/rustls/pemfile) from 1.0.4 to 2.1.1. - [Release notes](https://github.com/rustls/pemfile/releases) - [Commits](https://github.com/rustls/pemfile/compare/v/1.0.4...v/2.1.1) --- updated-dependencies: - dependency-name: rustls-pemfile dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 16 +++++++++++++--- clash_lib/Cargo.toml | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 729389116..759296a31 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1133,7 +1133,7 @@ dependencies = [ "regex", "register-count", "rustls 0.21.10", - "rustls-pemfile", + "rustls-pemfile 2.1.1", "security-framework", "serde", "serde_json", @@ -2516,7 +2516,7 @@ dependencies = [ "rand", "ring 0.16.20", "rustls 0.21.10", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "serde", "thiserror", "tinyvec", @@ -4638,7 +4638,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "schannel", "security-framework", ] @@ -4652,6 +4652,16 @@ dependencies = [ "base64 0.21.7", ] +[[package]] +name = "rustls-pemfile" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f48172685e6ff52a556baa527774f61fcaa884f59daf3375c62a3f1cd2549dab" +dependencies = [ + "base64 0.21.7", + "rustls-pki-types", +] + [[package]] name = "rustls-pki-types" version = "1.4.0" diff --git a/clash_lib/Cargo.toml b/clash_lib/Cargo.toml index f70ee304c..6e15f95ac 100644 --- a/clash_lib/Cargo.toml +++ b/clash_lib/Cargo.toml @@ -85,7 +85,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", "quic"] } -rustls-pemfile = "1.0.4" +rustls-pemfile = "2.1.1" webpki-roots = "0.25" dhcproto = "0.11"