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

12
Cargo.lock generated
View file

@ -214,7 +214,7 @@ dependencies = [
"compact_str",
"digest",
"flate2",
"futures-util",
"futures-lite",
"generic-array",
"httpdate",
"reqwest",
@ -847,6 +847,16 @@ version = "0.3.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfb8371b6fb2aeb2d280374607aeabfc99d95c72edfe51692e42d3d7f0d08531"
[[package]]
name = "futures-lite"
version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48"
dependencies = [
"futures-core",
"pin-project-lite",
]
[[package]]
name = "futures-macro"
version = "0.3.26"