From 330a2dd8f9c02bee219e2dce7ee512e6741d58c3 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 31 Aug 2023 13:18:14 +0100 Subject: [PATCH] Add time feature since connect_timeout requires it --- reqwest-jni/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reqwest-jni/Cargo.toml b/reqwest-jni/Cargo.toml index a654ef9..65c5fc4 100644 --- a/reqwest-jni/Cargo.toml +++ b/reqwest-jni/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] jni = "0.21.1" reqwest = {version = "0.11.20", features = ["rustls-tls", "stream", "brotli", "gzip", "socks"], default-features = false} -tokio = {version = "1.32.0", features = ["rt-multi-thread"], default-features = false} +tokio = {version = "1.32.0", features = ["rt-multi-thread", "time"], default-features = false} [lib] crate-type = ["cdylib"]