From f1b7cd4430e0e4ff6278248609f0bc344bcfd0f1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 6 Apr 2024 03:38:11 +0000 Subject: [PATCH] build(deps): bump async_zip from 0.0.16 to 0.0.17 in the deps group (#1659) * build(deps): bump async_zip from 0.0.16 to 0.0.17 in the deps group Bumps the deps group with 1 update: [async_zip](https://github.com/Majored/rs-async-zip). Updates `async_zip` from 0.0.16 to 0.0.17 - [Release notes](https://github.com/Majored/rs-async-zip/releases) - [Commits](https://github.com/Majored/rs-async-zip/compare/v0.0.16...v0.0.17) --- updated-dependencies: - dependency-name: async_zip dependency-type: direct:production update-type: version-update:semver-patch dependency-group: deps ... Signed-off-by: dependabot[bot] * Fix `extract_zip_entry` generic bound Signed-off-by: Jiahao XU --------- Signed-off-by: dependabot[bot] Signed-off-by: Jiahao XU Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jiahao XU --- Cargo.lock | 4 ++-- crates/binstalk-downloader/Cargo.toml | 2 +- crates/binstalk-downloader/src/download/zip_extraction.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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();