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

@ -5,7 +5,7 @@ use std::{
};
use bytes::Bytes;
use futures_util::stream::{Stream, StreamExt};
use futures_lite::stream::{Stream, StreamExt};
use httpdate::parse_http_date;
use reqwest::{
header::{HeaderMap, RETRY_AFTER},