diff --git a/Cargo.lock b/Cargo.lock index 47f2632..8c0b377 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2571,6 +2571,7 @@ dependencies = [ "percent-encoding 2.1.0", "pin-project-lite 0.2.7", "rustls", + "rustls-native-certs", "serde", "serde_json", "serde_urlencoded", @@ -2581,7 +2582,6 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots", "winreg", ] @@ -2693,6 +2693,18 @@ dependencies = [ "webpki", ] +[[package]] +name = "rustls-native-certs" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" +dependencies = [ + "openssl-probe", + "rustls", + "schannel", + "security-framework", +] + [[package]] name = "rustversion" version = "1.0.5" @@ -3819,15 +3831,6 @@ dependencies = [ "untrusted", ] -[[package]] -name = "webpki-roots" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940" -dependencies = [ - "webpki", -] - [[package]] name = "wepoll-sys-stjepang" version = "1.0.8" diff --git a/Cargo.toml b/Cargo.toml index 2ff6f25..f50caac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ tera = "1.5" lazy_static = "1.4" base64 = "0.13" # Seems like reqwests 0.10 do the futures jump (and I'm not ready for that) -reqwest = { version = "0.11", features = ["blocking", "rustls-tls"] } +reqwest = { version = "0.11", features = ["blocking", "rustls-tls-native-roots"] } openssl-probe = "0.1" xhtmlchardet = "2.1" human-panic = "1.0"