Skip to content

Bump async_zip from 0.0.17 to 0.0.19 - #35

Merged
bobnautic merged 1 commit into
mainfrom
dependabot/cargo/async_zip-0.0.19
Nov 17, 2026
Merged

bobnautic merged 1 commit into
mainfrom
dependabot/cargo/async_zip-0.0.19

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor

Bumps async_zip from 0.0.17 to 0.0.19.

Release notes

Sourced from async_zip's releases.

v0.0.19

Bumps to v0.0.19, which lands #192, a rewrite of the seek reader. See CHANGELOG.md and MIGRATION.md.

v0.0.18

Release notes:

  • Start consuming a data descriptor for read::stream, removing a previous hard-error. Note that this data descriptor currently gets voided, meaning CRC/length checks do not get performed.
  • Removes ZipEntryBuilder::sizes(), replacing with separate compressed and uncompressed setters.
  • Deletes the ZIP APPNOTE which was previously included in the repository as it's disallowed from redistribution.
  • Fixes the EOCDR locator potentially skipping bytes if read() calls didn't fully fill the internal buffer.
  • Introduces ZipFileWriter's write_entry_whole_precompressed() and write_entry_stream_precompressed(), allowing for pre-compressed data to be provided.
  • Added compress() and crc32() helpers in base::write to help with pre-compression. The specifics of these are likely to change in future versions. Added a CRC32 setter for ZipEntryBuilder also.
Changelog

Sourced from async_zip's changelog.

[0.0.19] - 2026-08-22

Added

  • This changelog and MIGRATION.md.
  • Terminology and high-level ZIP concepts (archive, file, LF/LFH, CDR/CDRH, EOCDR, CEOCDR) documented in the [base] module, and used consistently across the new API.
  • Tracing as an optional dependency, enabled via the tracing feature. Included in full.
  • An initial re-write of the read module. This is still in active development, with no stream reader currently. The intent is to fully replace the existing read module with it. Improvements include a large set of configurable validation checks. This reader is intended to be in feature parity with the old read module. It lives at [base::read1] until then, and provides:
    • [base::read1::seek::ZipArchiveReader], which reads the central directory up-front and opens files by index without consuming the source reader ([file()], or [file_oneshot()]).
    • [base::read1::seek::ZipArchiveFactory], a user-supplied generator function which produces additional readers over the same archive for concurrent/parallel file reads.
    • [base::read1::seek::ZipArchiveInner], shareable archive metadata which can be reused across readers via [new_with_inner()] to avoid re-reading the central directory.
    • [base::read1::ZipFileReader], an [AsyncRead] over a single file which validates the CRC32 and uncompressed size on EOF.
    • [base::read1::ZipOptions], a set of configurable validations and limits, plus [ZipOptions::untrusted()] as a conservative starting point for untrusted archives.
    • ZIP64 support, including ZIP64-aware accessors on [LF], [CDR] and [CEOCDR].
  • The [spec] module is now public, exposing [spec::headers1] (primitive headers), [spec::constructs] (headers combined with their variable-length data), [spec::extra] (extra fields), [spec::ZipString] and the [spec::KnownSize] trait.
  • New [ZipError] variants covering header/CDR mismatches, configured limits, invalid offsets, missing ZIP64 records, and binary parse failures.

Changed

  • The full feature now includes tracing.
  • The specification link in the README and crate docs now points at PKWARE's APPNOTE.TXT.

Deprecated

  • [base::read::seek::ZipFileReader], [base::read::mem::ZipFileReader] and [tokio::read::fs::ZipFileReader] in favour of [base::read1].

Removed

Fixed

Security

  • The new reader bounds what an archive can make it allocate or read on your behalf. Extra field block sizes, extra field counts, central directory size and file counts, and per-file compressed and uncompressed sizes are all checked against configured limits before anything is allocated. File names remain your responsibility to sanitise.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [async_zip](https://github.com/Majored/rs-async-zip) from 0.0.17 to 0.0.19.
- [Release notes](https://github.com/Majored/rs-async-zip/releases)
- [Changelog](https://github.com/Majored/rs-async-zip/blob/main/CHANGELOG.md)
- [Commits](Majored/rs-async-zip@v0.0.17...v0.0.19)

---
updated-dependencies:
- dependency-name: async_zip
  dependency-version: 0.0.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 17, 2026
@bobnautic
bobnautic merged commit b0dc671 into main Nov 17, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/async_zip-0.0.19 branch November 17, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant