diff --git a/Cargo.lock b/Cargo.lock index 5e4a359..5010bdb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -448,7 +448,7 @@ dependencies = [ "pin-project-lite", "rustls 0.21.1", "rustls-native-certs", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "serde", "serde_json", "serde_urlencoded", @@ -507,20 +507,36 @@ 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-pemfile" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" 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.100.1" @@ -845,7 +861,7 @@ dependencies = [ "log", "reqwest", "rustls-native-certs", - "rustls-pemfile", + "rustls-pemfile 2.0.0", "serde", "serde_json", "sha2", diff --git a/Cargo.toml b/Cargo.toml index 4255b90..6294c31 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ serde_json = "1.0" sha2 = { version = "0.10", default-features = false } simple_logger = { version = "4.3", default-features = false, features = ["timestamps"] } log = { version = "0.4", features = ["serde", "release_max_level_debug"] } -rustls-pemfile = "1.0" +rustls-pemfile = "2.0" # optional reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls-native-roots"], optional = true }