From e86a39998290d77511f4f42d2c0c8b15fa41cae4 Mon Sep 17 00:00:00 2001 From: Valmo Trindade Date: Sun, 15 Sep 2024 19:13:23 -0300 Subject: [PATCH] added blocking feature on request dependency --- Cargo.lock | 12 ++++++++++++ Cargo.toml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 9b131a1..eaceb1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -294,6 +294,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" dependencies = [ "futures-core", + "futures-sink", ] [[package]] @@ -302,6 +303,12 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +[[package]] +name = "futures-io" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" + [[package]] name = "futures-sink" version = "0.3.30" @@ -321,9 +328,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ "futures-core", + "futures-io", + "futures-sink", "futures-task", + "memchr", "pin-project-lite", "pin-utils", + "slab", ] [[package]] @@ -1000,6 +1011,7 @@ dependencies = [ "base64", "bytes", "encoding_rs", + "futures-channel", "futures-core", "futures-util", "h2", diff --git a/Cargo.toml b/Cargo.toml index 7609e4c..58ba1ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ arma-rs = "1.10.4" log = "0.4.22" log4rs = "1.3.0" regex = "1.10.6" -reqwest = "0.12.7" +reqwest = {version = "0.12.7", features = ["blocking"]} serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128"