Remove dep futures-lite from binstalk-downloader (#1259)

I planned to replace `futures-util` with `futures-lite`, but it turns
out that `reqwest` actually depends on `futures-util`, so there is no
point removing it and introduce yet another dependency.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-08-08 20:48:12 +10:00 committed by GitHub
parent 2fbcf188a7
commit ac012bdcb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 8 additions and 23 deletions

View file

@ -2,7 +2,7 @@ use std::{fmt, io, marker::PhantomData, path::Path};
use binstalk_types::cargo_toml_binstall::PkgFmtDecomposed;
use bytes::Bytes;
use futures_lite::stream::{Stream, StreamExt};
use futures_util::{Stream, StreamExt};
use thiserror::Error as ThisError;
use tracing::{debug, instrument};