diff --git a/Cargo.lock b/Cargo.lock index 0d30d89..a1eb8b7 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.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb0a1f9b9efec70d32e6d6aa3e58ebd88c3754ec98dfe9145c63cf54cc829b83" + [[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 3a8f4a3..7d95496 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.2", 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 }