diff --git a/Cargo.lock b/Cargo.lock index 1c90ba68..d7716a77 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -158,9 +158,9 @@ dependencies = [ [[package]] name = "async_zip" -version = "0.0.16" +version = "0.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "527207465fb6dcafbf661b0d4a51d0d2306c9d0c2975423079a6caa807930daf" +checksum = "00b9f7252833d5ed4b00aa9604b563529dd5e11de9c23615de2dcdf91eb87b52" dependencies = [ "async-compression", "crc32fast", diff --git a/crates/binstalk-downloader/Cargo.toml b/crates/binstalk-downloader/Cargo.toml index d750dcd3..9a73b638 100644 --- a/crates/binstalk-downloader/Cargo.toml +++ b/crates/binstalk-downloader/Cargo.toml @@ -18,7 +18,7 @@ async-compression = { version = "0.4.4", features = [ "bzip2", "tokio", ] } -async_zip = { version = "0.0.16", features = [ +async_zip = { version = "0.0.17", features = [ "deflate", "deflate64", "bzip2", diff --git a/crates/binstalk-downloader/src/download/zip_extraction.rs b/crates/binstalk-downloader/src/download/zip_extraction.rs index a5a5c961..329c0695 100644 --- a/crates/binstalk-downloader/src/download/zip_extraction.rs +++ b/crates/binstalk-downloader/src/download/zip_extraction.rs @@ -46,7 +46,7 @@ pub(super) async fn extract_zip_entry( extracted_files: &mut ExtractedFiles, ) -> Result<(), DownloadError> where - R: futures_io::AsyncRead + Unpin + Send + Sync, + R: futures_io::AsyncBufRead + Unpin + Send + Sync, { // Sanitize filename let raw_filename = zip_reader.entry().filename();