diff --git a/Cargo.lock b/Cargo.lock index 6e1ae9bff..4e8155b88 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -872,7 +872,7 @@ dependencies = [ "rand", "regex", "rustls", - "rustls-pemfile", + "rustls-pemfile 2.0.0", "security-framework", "serde", "serde_json", @@ -1847,7 +1847,7 @@ dependencies = [ "rand", "ring 0.16.20", "rustls", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "serde", "thiserror", "tinyvec", @@ -3408,6 +3408,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 b4845b929..8d8b8337a 100644 --- a/clash_lib/Cargo.toml +++ b/clash_lib/Cargo.toml @@ -79,7 +79,7 @@ hickory-proto = { version = "0.24", features = ["dns-over-rustls", "dns-over-htt # DoH rustls = { version = "0.21", features=["dangerous_configuration"] } -rustls-pemfile = "1.0.4" +rustls-pemfile = "2.0.0" webpki-roots = "0.25" dhcproto = "0.11"