From f0bd946282a65c545ab0a3f186c2e8c105a71b5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Gr=C3=BCnewald?= <10533763+dhalucario@users.noreply.github.com> Date: Tue, 10 Jun 2025 01:06:21 +0200 Subject: [PATCH] Manually set reqwest features --- Cargo.lock | 2 +- Cargo.toml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb9c4b2..6c31010 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -848,7 +848,7 @@ checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" [[package]] name = "r621" -version = "0.2.5-rc2" +version = "0.2.5-rc3" dependencies = [ "anyhow", "base64 0.21.7", diff --git a/Cargo.toml b/Cargo.toml index bb166c2..baea389 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r621" -version = "0.2.5-rc2" +version = "0.2.5-rc3" edition = "2021" description = "Provides a client to access e621" homepage = "https://git.doggoat.de/dhalucario/r621" @@ -14,12 +14,13 @@ repository = "https://git.doggoat.de/dhalucario/r621" [dependencies] anyhow = "1.0" base64 = "0.21" -reqwest = { version = "0.12", features = ["default", "json"] } +reqwest = { version = "0.12", features = ["charset", "http2", "system-proxy", "json"] } serde = { version = "1.0", features = ["derive", "std"] } thiserror = "1.0" url = "2.5" tokio = { version = "1", features = ["full"] } [features] +default = ["native-tls"] rustls-tls = ["reqwest/rustls-tls"] native-tls = ["reqwest/native-tls"]