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] <support@github.com>

* Fix `extract_zip_entry` generic bound

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
dependabot[bot] 2024-04-06 03:38:11 +00:00 committed by GitHub
parent fe2a4d8b0c
commit f1b7cd4430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

4
Cargo.lock generated
View file

@ -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",

View file

@ -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",

View file

@ -46,7 +46,7 @@ pub(super) async fn extract_zip_entry<R>(
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();