Replace dep futures-util with futures-lite in binstalk-downloader (#764)

`futures-util` has too many dependencies and it contains a lot of code
of which we only use a tiny bit of them.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-02-04 16:05:03 +11:00 committed by GitHub
parent 6bc1fb4983
commit 833684b095
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 47 additions and 30 deletions

View file

@ -19,7 +19,7 @@ bzip2 = "0.4.4"
compact_str = "0.6.1"
digest = "0.10.6"
flate2 = { version = "1.0.25", default-features = false }
futures-util = { version = "0.3.26", default-features = false, features = ["std"] }
futures-lite = { version = "1.12.0", default-features = false }
generic-array = "0.14.6"
httpdate = "1.0.2"
reqwest = { version = "0.11.14", features = ["stream", "gzip", "brotli", "deflate"], default-features = false }