From 1e95361a297079fe62feb6039a3fbe1b05e9f1f0 Mon Sep 17 00:00:00 2001 From: Yuuki Toriyama Date: Thu, 30 Nov 2023 18:52:45 +0900 Subject: [PATCH] =?UTF-8?q?`reqwest`=E3=81=AEfeatures=E3=81=AB`rustls-tls`?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Android向けにビルドしようとしたとき、OpenSSLのビルドにエラーが発生するため、回避策としてrustlsを使用することにした --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 62b8ad45..9424aad0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ crate-type = ["rlib", "cdylib"] [dependencies] console_error_panic_hook = "0.1.7" nom = "7.1.3" -reqwest = { version = "0.11.22", features = ["json"] } +reqwest = { version = "0.11.22", default-features = false, features = ["json", "rustls-tls"] } serde = { version = "1.0.192", features = ["derive"] } serde_json = "1.0.108" wasm-bindgen = "0.2.88"