From: dullbananas <dull.bananas0@gmail.com>
Date: Wed, 26 Jul 2023 10:22:14 +0000 (-0700)
Subject: Enable gzip for reqwest (#3696)
X-Git-Url: http://these/git/readmes/%7B%60https:/static/%7B%7D/inbox?a=commitdiff_plain;h=9b123f45eca1f364d038e52fab43ed3dea36fa98;p=lemmy.git

Enable gzip for reqwest (#3696)

This will reduce bandwidth used by federation

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
---

diff --git a/Cargo.toml b/Cargo.toml
index f5268be2..405ed9d4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -89,7 +89,7 @@ tracing-log = "0.1.3"
 tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
 url = { version = "2.4.0", features = ["serde"] }
 url_serde = "0.2.0"
-reqwest = { version = "0.11.18", features = ["json", "blocking"] }
+reqwest = { version = "0.11.18", features = ["json", "blocking", "gzip"] }
 reqwest-middleware = "0.2.2"
 reqwest-tracing = "0.4.5"
 clokwerk = "0.4.0"