mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Fix clippy lint error in 1.78.0 (#1679)
* Bump msrv of binstalk-downloader to 1.70.0 * Fix trait bound in multiple places for copy_file_to_mpsc * Rm super-trait trait bounds for FusedStream * Bump detect-targets msrv to 1.62.0 * Bump cargo-binstall msrv to 1.70.0
This commit is contained in:
parent
aaaa2b1387
commit
6ef3b665f4
5 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@ description = "The binstall toolkit for downloading and extracting file"
|
|||
repository = "https://github.com/cargo-bins/cargo-binstall"
|
||||
documentation = "https://docs.rs/binstalk-downloader"
|
||||
version = "0.10.2"
|
||||
rust-version = "1.65.0"
|
||||
rust-version = "1.70.0"
|
||||
authors = ["ryan <ryan@kurte.nz>"]
|
||||
edition = "2021"
|
||||
license = "Apache-2.0 OR MIT"
|
||||
|
|
|
@ -143,7 +143,7 @@ impl<'a> Download<'a> {
|
|||
async fn get_stream(
|
||||
self,
|
||||
) -> Result<
|
||||
impl Stream<Item = Result<Bytes, DownloadError>> + FusedStream + Send + Sync + Unpin + 'a,
|
||||
impl FusedStream<Item = Result<Bytes, DownloadError>> + Send + Sync + Unpin + 'a,
|
||||
DownloadError,
|
||||
> {
|
||||
let mut data_verifier = self.data_verifier;
|
||||
|
|
|
@ -142,7 +142,7 @@ where
|
|||
Ok(())
|
||||
}
|
||||
|
||||
async fn copy_file_to_mpsc<R: AsyncRead>(
|
||||
async fn copy_file_to_mpsc<R>(
|
||||
mut entry_reader: R,
|
||||
tx: mpsc::Sender<Bytes>,
|
||||
buf: &mut BytesMut,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue