diff --git a/Cargo.lock b/Cargo.lock index 41ca916efe79..8ed4abd60d5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1114,7 +1114,7 @@ dependencies = [ "quinn", "rand", "rustls", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "serde", "thiserror", "tinyvec", @@ -2276,8 +2276,8 @@ dependencies = [ "percent-encoding", "pin-project-lite", "rustls", - "rustls-native-certs", - "rustls-pemfile", + "rustls-native-certs 0.6.3", + "rustls-pemfile 1.0.4", "serde", "serde_json", "serde_urlencoded", @@ -2446,7 +2446,20 @@ 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", +] + +[[package]] +name = "rustls-native-certs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.0.0", + "rustls-pki-types", "schannel", "security-framework", ] @@ -2460,6 +2473,22 @@ dependencies = [ "base64", ] +[[package]] +name = "rustls-pemfile" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35e4980fa29e4c4b212ffb3db068a564cbf560e51d3944b7c88bd8bf5bec64f4" +dependencies = [ + "base64", + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7673e0aa20ee4937c6aacfc12bb8341cfbf054cdd21df6bec5fd0629fe9339b" + [[package]] name = "rustls-webpki" version = "0.101.7" @@ -2782,7 +2811,7 @@ dependencies = [ "pin-project", "rand", "regex", - "rustls-native-certs", + "rustls-native-certs 0.7.0", "serde", "shadowsocks", "smoltcp", diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index 91813a352e75..1d812809cc3c 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -138,7 +138,7 @@ tokio-native-tls = { version = "0.3", optional = true } native-tls = { version = "0.2.8", optional = true, features = ["alpn"] } tokio-rustls = { version = "0.24", optional = true } webpki-roots = { version = "0.25", optional = true } -rustls-native-certs = { version = "0.6.3", optional = true } +rustls-native-certs = { version = "0.7.0", optional = true } async-trait = "0.1" socket2 = { version = "0.5", features = ["all"] }