Skip to content

Commit

Permalink
Enable feat gzip, brotli & deflate of dep reqwest (rust-lang#434)
Browse files Browse the repository at this point in the history
So that downloading uncompressed binary can be faster for slow connection.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
  • Loading branch information
NobodyXu committed Sep 27, 2022
1 parent ac5efc8 commit f824ade
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
51 changes: 51 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/binstalk/Cargo.toml
Expand Up @@ -30,7 +30,7 @@ log = { version = "0.4.17", features = ["std"] }
miette = "5.3.0"
normalize-path = { version = "0.1.0", path = "../normalize-path" }
once_cell = "1.15.0"
reqwest = { version = "0.11.12", features = ["stream"], default-features = false }
reqwest = { version = "0.11.12", features = ["stream", "gzip", "brotli", "deflate"], default-features = false }
scopeguard = "1.1.0"
semver = { version = "1.0.14", features = ["serde"] }
serde = { version = "1.0.145", features = ["derive"] }
Expand Down

0 comments on commit f824ade

Please sign in to comment.