diff --git a/Cargo.lock b/Cargo.lock index ee5d45c..95b7a15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -154,6 +154,12 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +[[package]] +name = "base64" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" + [[package]] name = "bitflags" version = "1.3.2" @@ -868,6 +874,19 @@ dependencies = [ "want", ] +[[package]] +name = "hyper-rustls" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" +dependencies = [ + "http", + "hyper", + "rustls", + "tokio", + "tokio-rustls", +] + [[package]] name = "iana-time-zone" version = "0.1.53" @@ -1415,7 +1434,7 @@ version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68cc60575865c7831548863cc02356512e3f1dc2f3f82cb837d7fc4cc8f3c97c" dependencies = [ - "base64", + "base64 0.13.1", "bytes", "encoding_rs", "futures-core", @@ -1424,6 +1443,7 @@ dependencies = [ "http", "http-body", "hyper", + "hyper-rustls", "ipnet", "js-sys", "log", @@ -1432,15 +1452,18 @@ dependencies = [ "percent-encoding", "pin-project-lite", "rustls", + "rustls-pemfile", "serde", "serde_json", "serde_urlencoded", "tokio", + "tokio-rustls", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", + "webpki-roots", "winreg", ] @@ -1490,7 +1513,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "300a51053b1cb55c80b7a9fde4120726ddf25ca241a1cbb926626f62fb136bff" dependencies = [ - "base64", + "base64 0.13.1", "bitflags", "serde", ] @@ -1525,6 +1548,15 @@ dependencies = [ "webpki", ] +[[package]] +name = "rustls-pemfile" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" +dependencies = [ + "base64 0.21.0", +] + [[package]] name = "ryu" version = "1.0.12" @@ -1820,6 +1852,17 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "tokio-rustls" +version = "0.23.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" +dependencies = [ + "rustls", + "tokio", + "webpki", +] + [[package]] name = "tokio-util" version = "0.7.4" @@ -2154,6 +2197,15 @@ dependencies = [ "untrusted", ] +[[package]] +name = "webpki-roots" +version = "0.22.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" +dependencies = [ + "webpki", +] + [[package]] name = "winapi" version = "0.3.9" diff --git a/plugins/rink/Cargo.toml b/plugins/rink/Cargo.toml index 3dbcf48..f0e1d78 100644 --- a/plugins/rink/Cargo.toml +++ b/plugins/rink/Cargo.toml @@ -12,4 +12,4 @@ crate-type = ["cdylib"] anyrun-plugin = { path = "../../anyrun-plugin" } abi_stable = "0.11.1" rink-core = "0.6" -reqwest = { version = "0.11.13", default-features = false, features = ["blocking", "json", "rustls"] } +reqwest = { version = "0.11.13", default-features = false, features = ["blocking", "json", "rustls-tls"] } diff --git a/plugins/translate/Cargo.toml b/plugins/translate/Cargo.toml index 4a35eac..52e6a9a 100644 --- a/plugins/translate/Cargo.toml +++ b/plugins/translate/Cargo.toml @@ -11,7 +11,7 @@ crate-type = ["cdylib"] [dependencies] anyrun-plugin = { path = "../../anyrun-plugin" } abi_stable = "0.11.1" -reqwest = { version = "0.11.13", default-features = false, features = ["blocking", "json", "rustls"] } +reqwest = { version = "0.11.13", default-features = false, features = ["blocking", "json", "rustls-tls"] } fuzzy-matcher = "0.3.7" tokio = { version = "1.25.0", features = ["rt"] } futures = "0.3.25"