From 0e70721c11c1ecbc4439ec683a5d24a0d8785c62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 09:29:42 +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 | 22 +++++++++++++++++++--- clash_lib/Cargo.toml | 2 +- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 94442b19a..3b2618e7e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -877,7 +877,7 @@ dependencies = [ "rand", "regex", "rustls", - "rustls-pemfile", + "rustls-pemfile 2.0.0", "security-framework", "serde", "serde_json", @@ -1843,7 +1843,7 @@ dependencies = [ "rand", "ring 0.16.20", "rustls", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "serde", "thiserror", "tinyvec", @@ -3425,7 +3425,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", ] @@ -3439,6 +3439,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 afc572931..cdf60ef7d 100644 --- a/clash_lib/Cargo.toml +++ b/clash_lib/Cargo.toml @@ -80,7 +80,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"