]> Untitled Git - lemmy.git/commitdiff
Enable gzip for reqwest (#3696)
authordullbananas <dull.bananas0@gmail.com>
Wed, 26 Jul 2023 10:22:14 +0000 (03:22 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Jul 2023 10:22:14 +0000 (12:22 +0200)
This will reduce bandwidth used by federation

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

index f5268be244ce058baef1942001f416f38b0c93e1..405ed9d4ecde93a4ce94c88021b720359519141a 100644 (file)
@@ -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"