fix(deps): update rust crate zip to v6 #14

Merged
kernald merged 1 commit from renovate/zip-6.x into main 2025-10-09 23:01:31 +11:00
Collaborator

This PR contains the following updates:

Package Type Update Change
zip dependencies major 2.2.0 -> 6.0.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

zip-rs/zip2 (zip)

v6.0.0

Compare Source

🐛 Bug Fixes
  • panic when reading empty extended-timestamp field (#​404) (#​422)
  • Restore original file timestamp when unzipping with chrono (#​46)
⚙️ Miscellaneous Tasks
  • Configure Amazon Q rules (#​421)

v5.1.1

Compare Source

🐛 Bug Fixes
  • panic when reading empty extended-timestamp field (#​404) (#​422)
  • Restore original file timestamp when unzipping with chrono (#​46)
⚙️ Miscellaneous Tasks
  • Configure Amazon Q rules (#​421)

v5.1.0

Compare Source

🚀 Features
  • Add legacy shrink/reduce/implode compression (#​303)

v5.0.1

Compare Source

🐛 Bug Fixes
  • AES metadata was not copied correctly in raw copy methods, which could corrupt the copied file. (#​417)

v5.0.0

Compare Source

🚀 Features
  • Implement by_path*() methods on ZipArchive (#​382)

v4.6.1

Compare Source

🐛 Bug Fixes
  • Fixes an issue introduced by the swap from lzma-rs to liblzma (#​407)

v4.6.0

Compare Source

🚀 Features
  • Allow to read zip files with unsupported extended timestamps (#​400)
🐛 Bug Fixes
  • enable clamp_opt for ppmd and xz (#​401)

v4.5.0

Compare Source

🚀 Features
  • Allow reading ZIP files where the central directory comes before the files (#​384) (#​396)

v4.4.0

Compare Source

🚀 Features
  • Add lzma-static and xz-static features that enable liblzma/static (#​393)
⚙️ Miscellaneous Tasks
  • Move deprecated annotations to fix a Clippy warning (#​391)

v4.3.0

Compare Source

🚀 Features

v4.2.0

Compare Source

🚀 Features
  • Write ZIP file to stream (#​246)

v4.1.0

Compare Source

🚀 Features
  • Add has_overlapping_files method

v4.0.0

Compare Source

🐛 Bug Fixes
  • Allow extraction of Zip64 where "Version needed to extract" is higher than "Version made by" (#​356)
⚙️ Miscellaneous Tasks
  • Revert nt-time upgrade (would increase MSRV)
  • Revert constant_time_eq update (would increase MSRV)
  • Update fully-qualified names of liblzma imports

v3.0.0

Compare Source

🐛 Bug Fixes
  • return correct offset in SeekableTake::seek (#​342)
  • When only zopfli is available, decompression of deflate should not be possible (#​348)
  • Specify flate2 dependency of the deflate-flate2 feature. (#​345)
⚙️ Miscellaneous Tasks
  • drop unused crossbeam-utils dependency (#​339)
  • fix typo
  • remove deflate-flate2 dependency on specific backend
  • [breaking] Drop deprecated deflate-miniz feature flag (#​351)

v2.6.1

Compare Source

🐛 Bug Fixes
  • avoid scanning through all local file headers while opening an archive (#​281)

v2.6.0

Compare Source

🚀 Features
  • Add support for time::PrimitiveDateTime (#​322)
  • Add jiff integration (#​323)
🐛 Bug Fixes
  • improve error message for duplicated file (#​277)

v2.5.0

Compare Source

🚀 Features
  • Add support for time::PrimitiveDateTime (#​322)
  • Add jiff integration (#​323)
🐛 Bug Fixes
  • improve error message for duplicated file (#​277)

v2.4.2

Compare Source

🐛 Bug Fixes
  • deep_copy_file produced a mangled file header on big-endian platforms (#​309)

v2.4.1

Compare Source

🐛 Bug Fixes
  • type issue in test
  • double as_ref().canonicalize()?
  • CI failures
  • Create directory for extraction if necessary (#​314)

v2.4.0

Compare Source

🚀 Features
  • ZipArchive::root_dir and ZipArchive::extract_unwrapped_root_dir (#​304)
🐛 Bug Fixes
  • wasm build failure due to a missing use statement (#​313)

v2.3.0

Compare Source

🚀 Features
  • Add support for NTFS extra field (#​279)
🐛 Bug Fixes
  • (test) Conditionalize a zip64 doctest (#​308)
  • fix failing tests, remove symlink loop check
  • Canonicalize output path to avoid false negatives
  • Symlink handling in stream extraction
  • Canonicalize output paths and symlink targets, and ensure they descend from the destination
⚙️ Miscellaneous Tasks
  • Fix clippy and cargo fmt warnings (#​310)

v2.2.3

Compare Source

🚜 Refactor
  • Change the inner structure of DateTime (#​267)
⚙️ Miscellaneous Tasks
  • cargo fix --edition

v2.2.2

Compare Source

🐛 Bug Fixes
  • rewrite the EOCD/EOCD64 detection to fix extreme performance regression (#​247)

v2.2.1

Compare Source

🐛 Bug Fixes
  • remove executable bit (#​238)
  • (lzma) fixed panic in case of invalid lzma stream (#​259)
  • resolve new clippy warnings on nightly (#​262)
  • resolve clippy warning in nightly (#​252)
Performance

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [zip](https://github.com/zip-rs/zip2) | dependencies | major | `2.2.0` -> `6.0.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>zip-rs/zip2 (zip)</summary> ### [`v6.0.0`](https://github.com/zip-rs/zip2/releases/tag/v6.0.0) [Compare Source](https://github.com/zip-rs/zip2/compare/v5.1.1...v6.0.0) ##### <!-- 1 -->🐛 Bug Fixes - panic when reading empty extended-timestamp field ([#&#8203;404](https://github.com/zip-rs/zip2/pull/404)) ([#&#8203;422](https://github.com/zip-rs/zip2/pull/422)) - Restore original file timestamp when unzipping with `chrono` ([#&#8203;46](https://github.com/zip-rs/zip2/pull/46)) ##### <!-- 7 -->⚙️ Miscellaneous Tasks - Configure Amazon Q rules ([#&#8203;421](https://github.com/zip-rs/zip2/pull/421)) ### [`v5.1.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#511---2025-09-11) [Compare Source](https://github.com/zip-rs/zip2/compare/v5.1.0...v5.1.1) ##### <!-- 1 -->🐛 Bug Fixes - panic when reading empty extended-timestamp field ([#&#8203;404](https://github.com/zip-rs/zip2/pull/404)) ([#&#8203;422](https://github.com/zip-rs/zip2/pull/422)) - Restore original file timestamp when unzipping with `chrono` ([#&#8203;46](https://github.com/zip-rs/zip2/pull/46)) ##### <!-- 7 -->⚙️ Miscellaneous Tasks - Configure Amazon Q rules ([#&#8203;421](https://github.com/zip-rs/zip2/pull/421)) ### [`v5.1.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#510---2025-09-10) [Compare Source](https://github.com/zip-rs/zip2/compare/v5.0.1...v5.1.0) ##### <!-- 0 -->🚀 Features - Add legacy shrink/reduce/implode compression ([#&#8203;303](https://github.com/zip-rs/zip2/pull/303)) ### [`v5.0.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#501---2025-09-09) [Compare Source](https://github.com/zip-rs/zip2/compare/v5.0.0...v5.0.1) ##### <!-- 1 -->🐛 Bug Fixes - AES metadata was not copied correctly in raw copy methods, which could corrupt the copied file. ([#&#8203;417](https://github.com/zip-rs/zip2/pull/417)) ### [`v5.0.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#500---2025-09-05) [Compare Source](https://github.com/zip-rs/zip2/compare/v4.6.1...v5.0.0) ##### <!-- 0 -->🚀 Features - Implement by_path\*() methods on ZipArchive ([#&#8203;382](https://github.com/zip-rs/zip2/pull/382)) ### [`v4.6.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#461---2025-09-03) [Compare Source](https://github.com/zip-rs/zip2/compare/v4.6.0...v4.6.1) ##### <!-- 1 -->🐛 Bug Fixes - Fixes an issue introduced by the swap from `lzma-rs` to `liblzma` ([#&#8203;407](https://github.com/zip-rs/zip2/pull/407)) ### [`v4.6.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#460---2025-08-30) [Compare Source](https://github.com/zip-rs/zip2/compare/v4.5.0...v4.6.0) ##### <!-- 0 -->🚀 Features - Allow to read zip files with unsupported extended timestamps ([#&#8203;400](https://github.com/zip-rs/zip2/pull/400)) ##### <!-- 1 -->🐛 Bug Fixes - enable clamp_opt for ppmd and xz ([#&#8203;401](https://github.com/zip-rs/zip2/pull/401)) ### [`v4.5.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#450---2025-08-21) [Compare Source](https://github.com/zip-rs/zip2/compare/v4.4.0...v4.5.0) ##### <!-- 0 -->🚀 Features - Allow reading ZIP files where the central directory comes *before* the files ([#&#8203;384](https://github.com/zip-rs/zip2/pull/384)) ([#&#8203;396](https://github.com/zip-rs/zip2/pull/396)) ### [`v4.4.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#440---2025-08-21) [Compare Source](https://github.com/zip-rs/zip2/compare/v4.3.0...v4.4.0) ##### <!-- 0 -->🚀 Features - Add `lzma-static` and `xz-static` features that enable `liblzma/static` ([#&#8203;393](https://github.com/zip-rs/zip2/pull/393)) ##### <!-- 7 -->⚙️ Miscellaneous Tasks - Move deprecated annotations to fix a Clippy warning ([#&#8203;391](https://github.com/zip-rs/zip2/pull/391)) ### [`v4.3.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#430---2025-07-09) [Compare Source](https://github.com/zip-rs/zip2/compare/v4.2.0...v4.3.0) ##### <!-- 0 -->🚀 Features - Add support for PPMd ([#&#8203;370](https://github.com/zip-rs/zip2/pull/370)) ### [`v4.2.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#420---2025-06-21) [Compare Source](https://github.com/zip-rs/zip2/compare/v4.1.0...v4.2.0) ##### <!-- 0 -->🚀 Features - Write ZIP file to stream ([#&#8203;246](https://github.com/zip-rs/zip2/pull/246)) ### [`v4.1.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#410---2025-06-14) [Compare Source](https://github.com/zip-rs/zip2/compare/v4.0.0...v4.1.0) ##### <!-- 0 -->🚀 Features - Add has_overlapping_files method ### [`v4.0.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#400---2025-05-21) [Compare Source](https://github.com/zip-rs/zip2/compare/v3.0.0...v4.0.0) ##### <!-- 1 -->🐛 Bug Fixes - Allow extraction of Zip64 where "Version needed to extract" is higher than "Version made by" ([#&#8203;356](https://github.com/zip-rs/zip2/pull/356)) ##### <!-- 7 -->⚙️ Miscellaneous Tasks - Revert nt-time upgrade (would increase MSRV) - Revert constant_time_eq update (would increase MSRV) - Update fully-qualified names of liblzma imports ### [`v3.0.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#300---2025-05-14) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.6.1...v3.0.0) ##### <!-- 1 -->🐛 Bug Fixes - return correct offset in SeekableTake::seek ([#&#8203;342](https://github.com/zip-rs/zip2/pull/342)) - When only zopfli is available, decompression of deflate should not be possible ([#&#8203;348](https://github.com/zip-rs/zip2/pull/348)) - Specify `flate2` dependency of the `deflate-flate2` feature. ([#&#8203;345](https://github.com/zip-rs/zip2/pull/345)) ##### <!-- 7 -->⚙️ Miscellaneous Tasks - drop unused crossbeam-utils dependency ([#&#8203;339](https://github.com/zip-rs/zip2/pull/339)) - fix typo - remove `deflate-flate2` dependency on specific backend - \[**breaking**] Drop deprecated `deflate-miniz` feature flag ([#&#8203;351](https://github.com/zip-rs/zip2/pull/351)) ### [`v2.6.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#261---2025-04-03) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.6.0...v2.6.1) ##### <!-- 1 -->🐛 Bug Fixes - avoid scanning through all local file headers while opening an archive ([#&#8203;281](https://github.com/zip-rs/zip2/pull/281)) ### [`v2.6.0`](https://github.com/zip-rs/zip2/releases/tag/v2.6.0) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.5.0...v2.6.0) ##### <!-- 0 -->🚀 Features - Add support for `time::PrimitiveDateTime` ([#&#8203;322](https://github.com/zip-rs/zip2/pull/322)) - Add `jiff` integration ([#&#8203;323](https://github.com/zip-rs/zip2/pull/323)) ##### <!-- 1 -->🐛 Bug Fixes - improve error message for duplicated file ([#&#8203;277](https://github.com/zip-rs/zip2/pull/277)) ### [`v2.5.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#250---2025-03-23) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.4.2...v2.5.0) ##### <!-- 0 -->🚀 Features - Add support for `time::PrimitiveDateTime` ([#&#8203;322](https://github.com/zip-rs/zip2/pull/322)) - Add `jiff` integration ([#&#8203;323](https://github.com/zip-rs/zip2/pull/323)) ##### <!-- 1 -->🐛 Bug Fixes - improve error message for duplicated file ([#&#8203;277](https://github.com/zip-rs/zip2/pull/277)) ### [`v2.4.2`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#242---2025-03-18) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.4.1...v2.4.2) ##### <!-- 1 -->🐛 Bug Fixes - `deep_copy_file` produced a mangled file header on big-endian platforms ([#&#8203;309](https://github.com/zip-rs/zip2/issues/309)) ### [`v2.4.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#241---2025-03-17) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.4.0...v2.4.1) ##### <!-- 1 -->🐛 Bug Fixes - type issue in test - double as_ref().canonicalize()? - CI failures - Create directory for extraction if necessary ([#&#8203;314](https://github.com/zip-rs/zip2/pull/314)) ### [`v2.4.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#240---2025-03-17) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.3.0...v2.4.0) ##### <!-- 0 -->🚀 Features - `ZipArchive::root_dir` and `ZipArchive::extract_unwrapped_root_dir` ([#&#8203;304](https://github.com/zip-rs/zip2/pull/304)) ##### <!-- 1 -->🐛 Bug Fixes - wasm build failure due to a missing use statement ([#&#8203;313](https://github.com/zip-rs/zip2/pull/313)) ### [`v2.3.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#230---2025-03-16) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.2.3...v2.3.0) ##### <!-- 0 -->🚀 Features - Add support for NTFS extra field ([#&#8203;279](https://github.com/zip-rs/zip2/pull/279)) ##### <!-- 1 -->🐛 Bug Fixes - *(test)* Conditionalize a zip64 doctest ([#&#8203;308](https://github.com/zip-rs/zip2/pull/308)) - fix failing tests, remove symlink loop check - Canonicalize output path to avoid false negatives - Symlink handling in stream extraction - Canonicalize output paths and symlink targets, and ensure they descend from the destination ##### <!-- 7 -->⚙️ Miscellaneous Tasks - Fix clippy and cargo fmt warnings ([#&#8203;310](https://github.com/zip-rs/zip2/pull/310)) ### [`v2.2.3`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#223---2025-02-26) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.2.2...v2.2.3) ##### <!-- 2 -->🚜 Refactor - Change the inner structure of `DateTime` ([#&#8203;267](https://github.com/zip-rs/zip2/issues/267)) ##### <!-- 7 -->⚙️ Miscellaneous Tasks - cargo fix --edition ### [`v2.2.2`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#222---2024-12-16) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.2.1...v2.2.2) ##### <!-- 1 -->🐛 Bug Fixes - rewrite the EOCD/EOCD64 detection to fix extreme performance regression ([#&#8203;247](https://github.com/zip-rs/zip2/issues/247)) ### [`v2.2.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#221---2024-11-20) [Compare Source](https://github.com/zip-rs/zip2/compare/v2.2.0...v2.2.1) ##### <!-- 1 -->🐛 Bug Fixes - remove executable bit ([#&#8203;238](https://github.com/zip-rs/zip2/pull/238)) - *(lzma)* fixed panic in case of invalid lzma stream ([#&#8203;259](https://github.com/zip-rs/zip2/pull/259)) - resolve new clippy warnings on nightly ([#&#8203;262](https://github.com/zip-rs/zip2/pull/262)) - resolve clippy warning in nightly ([#&#8203;252](https://github.com/zip-rs/zip2/pull/252)) ##### <!-- 4 -->⚡ Performance - Faster cde rejection ([#&#8203;255](https://github.com/zip-rs/zip2/pull/255)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==-->
renovate added 1 commit 2025-10-09 22:58:10 +11:00
fix(deps): update rust crate zip to v6
All checks were successful
Build and test / Tests (pull_request) Successful in 1m26s
Checking Renovate configuration / validate (pull_request) Successful in 1m41s
Build and test / Clippy (pull_request) Successful in 1m38s
Checking yaml / Run yamllint (pull_request) Successful in 2s
Build and test / Build AMD64 (pull_request) Successful in 3m1s
Build and test / Generate Documentation (pull_request) Successful in 1m49s
48b560d85e
kernald was assigned by renovate 2025-10-09 22:58:11 +11:00
kernald scheduled this pull request to auto merge when all checks succeed 2025-10-09 22:58:37 +11:00
kernald merged commit 48b560d85e into main 2025-10-09 23:01:31 +11:00
kernald deleted branch renovate/zip-6.x 2025-10-09 23:01:31 +11:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kernald/cbz2pdf#14
No description provided.