chore(deps): update rust crate zip to v7 #326

Open
renovate-bot wants to merge 1 commit from renovate/zip-7.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
zip workspace.dependencies major 6.0.0 -> 7.0.0

⚠️ Warning

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


Release Notes

zip-rs/zip2 (zip)

v7.2.0

Compare Source

🚀 Features
  • add read_zipfile_from_stream_with_compressed_size (#​70)
  • Allow choosing bzip2 rust backend (#​329)
🐛 Bug Fixes
  • Need to include zip64 extra field in central directory (fix #​353) (#​360)
  • Fails to extract file which might or might not be malformed (#​376) (#​426)
  • (aes) Allow AES encryption while streaming (#​463)
  • Default "platform" field in zip files should be set to the local platform, rather than always "Unix" (#​470) (#​471)
🚜 Refactor
  • Define cfg_if! and cfg_if_expr! internal macros (#​438)
Performance
  • Change an assert to debug_assert when encrypting/decrypting AES, and eliminate a fallible operation (#​521)
  • eliminate a String clone per new file added to archive, and other related refactors (#​522)
⚙️ Miscellaneous Tasks
  • Fix another merge error, this one affecting only builds with flate2 and not zopfli
  • Fix more merge issues
  • Fix merge
  • Fix write_dir build errors on specific feature configs
  • Fix clippy warning
  • Fix --all-features build error
  • Fix merge

v7.1.0

Compare Source

🚀 Features
  • display the underlying error in Display impl for ZipError::Display (#​483)
  • Enable creation of ZipArchive without reparsing (#​485)
🐛 Bug Fixes
  • Return InvalidPassword rather than panic when AES key is the wrong length (#​457)
  • bench with auto zip64 comment (#​505)
  • add condition for getrandom dependency (#​504)
  • (zipcrypto) Support streaming ZipCrypto encryption, don't store entire file in memory (#​462)
🚜 Refactor
  • Clean up imports and move types (#​461)
  • Replace handwritten Ord and PartialOrd for DateTime (#​484)
⚙️ Miscellaneous Tasks
  • Lock lzma-rust2 to at least 0.15.5 (#​491)

v7.0.0

Compare Source

⚠️ Breaking Changes
  • Removed the following features: getrandom, hmac, pbkdf2, sha1, zeroize.
  • Removed lzma-static and xz-static feature flags, which were deprecated synonyms of lzma and xz. (#​405, #​425)
🚀 Features
  • (SimpleFileOptions) const DEFAULT implementation (#​474)
  • ZipWriter set_auto_large_file() method to enable large-file data descriptor when necessary (#​468)
🐛 Bug Fixes
⚙️ Miscellaneous Tasks
  • Revert version bump so that release-plz will trigger
  • expose more flate2 feature flags (#​476)
  • Next release will be 7.0.0
  • release v6.0.0 (#​442)
Deps
  • Bump lzma-rust2 to v0.15 (#​465)

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) | workspace.dependencies | major | `6.0.0` -> `7.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> ### [`v7.2.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#720---2026-01-20) [Compare Source](https://github.com/zip-rs/zip2/compare/v7.1.0...v7.2.0) ##### <!-- 0 -->🚀 Features - add read\_zipfile\_from\_stream\_with\_compressed\_size ([#&#8203;70](https://github.com/zip-rs/zip2/pull/70)) - Allow choosing bzip2 rust backend ([#&#8203;329](https://github.com/zip-rs/zip2/pull/329)) ##### <!-- 1 -->🐛 Bug Fixes - Need to include zip64 extra field in central directory (fix [#&#8203;353](https://github.com/zip-rs/zip2/issues/353)) ([#&#8203;360](https://github.com/zip-rs/zip2/pull/360)) - Fails to extract file which might or might not be malformed ([#&#8203;376](https://github.com/zip-rs/zip2/pull/376)) ([#&#8203;426](https://github.com/zip-rs/zip2/pull/426)) - *(aes)* Allow AES encryption while streaming ([#&#8203;463](https://github.com/zip-rs/zip2/pull/463)) - Default "platform" field in zip files should be set to the local platform, rather than always "Unix" ([#&#8203;470](https://github.com/zip-rs/zip2/pull/470)) ([#&#8203;471](https://github.com/zip-rs/zip2/pull/471)) ##### <!-- 2 -->🚜 Refactor - Define cfg\_if! and cfg\_if\_expr! internal macros ([#&#8203;438](https://github.com/zip-rs/zip2/pull/438)) ##### <!-- 4 -->⚡ Performance - Change an assert to debug\_assert when encrypting/decrypting AES, and eliminate a fallible operation ([#&#8203;521](https://github.com/zip-rs/zip2/pull/521)) - eliminate a String clone per new file added to archive, and other related refactors ([#&#8203;522](https://github.com/zip-rs/zip2/pull/522)) ##### <!-- 7 -->⚙️ Miscellaneous Tasks - Fix another merge error, this one affecting only builds with flate2 and not zopfli - Fix more merge issues - Fix merge - Fix write\_dir build errors on specific feature configs - Fix clippy warning - Fix --all-features build error - Fix merge ### [`v7.1.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#710---2026-01-14) [Compare Source](https://github.com/zip-rs/zip2/compare/v7.0.0...v7.1.0) ##### <!-- 0 -->🚀 Features - display the underlying error in Display impl for ZipError::Display ([#&#8203;483](https://github.com/zip-rs/zip2/pull/483)) - Enable creation of `ZipArchive` without reparsing ([#&#8203;485](https://github.com/zip-rs/zip2/pull/485)) ##### <!-- 1 -->🐛 Bug Fixes - Return InvalidPassword rather than panic when AES key is the wrong length ([#&#8203;457](https://github.com/zip-rs/zip2/pull/457)) - bench with auto zip64 comment ([#&#8203;505](https://github.com/zip-rs/zip2/pull/505)) - add condition for `getrandom` dependency ([#&#8203;504](https://github.com/zip-rs/zip2/pull/504)) - *(zipcrypto)* Support streaming ZipCrypto encryption, don't store entire file in memory ([#&#8203;462](https://github.com/zip-rs/zip2/pull/462)) ##### <!-- 2 -->🚜 Refactor - Clean up imports and move types ([#&#8203;461](https://github.com/zip-rs/zip2/pull/461)) - Replace handwritten `Ord` and `PartialOrd` for `DateTime` ([#&#8203;484](https://github.com/zip-rs/zip2/pull/484)) ##### <!-- 7 -->⚙️ Miscellaneous Tasks - Lock `lzma-rust2` to at least 0.15.5 ([#&#8203;491](https://github.com/zip-rs/zip2/pull/491)) ### [`v7.0.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#700---2025-12-05) [Compare Source](https://github.com/zip-rs/zip2/compare/v6.0.0...v7.0.0) ##### <!-- 9 -->⚠️ Breaking Changes - Removed the following features: `getrandom`, `hmac`, `pbkdf2`, `sha1`, `zeroize`. - Removed `lzma-static` and `xz-static` feature flags, which were deprecated synonyms of `lzma` and `xz`. ([#&#8203;405](https://github.com/zip-rs/zip2/pull/405), [#&#8203;425](https://github.com/zip-rs/zip2/pull/425)) ##### <!-- 0 -->🚀 Features - *(`SimpleFileOptions`)* const DEFAULT implementation ([#&#8203;474](https://github.com/zip-rs/zip2/pull/474)) - ZipWriter `set_auto_large_file()` method to enable large-file data descriptor when necessary ([#&#8203;468](https://github.com/zip-rs/zip2/pull/468)) ##### <!-- 1 -->🐛 Bug Fixes - print previous error when failing to search another cde ([#&#8203;460](https://github.com/zip-rs/zip2/pull/460)) - cargo doc warnings ([#&#8203;472](https://github.com/zip-rs/zip2/pull/472)) - Write ZIP64 data descriptors when large\_file option is true ([#&#8203;467](https://github.com/zip-rs/zip2/pull/467)) - Pin generic-array to an old version to work around https://github.com/RustCrypto/traits/issues/2036 until next RustCrypto & aes-crypto releases ([#&#8203;458](https://github.com/zip-rs/zip2/pull/458)) ##### <!-- 7 -->⚙️ Miscellaneous Tasks - Revert version bump so that release-plz will trigger - expose more flate2 feature flags ([#&#8203;476](https://github.com/zip-rs/zip2/pull/476)) - Next release will be 7.0.0 - release v6.0.0 ([#&#8203;442](https://github.com/zip-rs/zip2/pull/442)) ##### Deps - Bump lzma-rust2 to v0.15 ([#&#8203;465](https://github.com/zip-rs/zip2/pull/465)) </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:eyJjcmVhdGVkSW5WZXIiOiI0MS40My43IiwidXBkYXRlZEluVmVyIjoiNDEuNDMuNyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
chore(deps): update rust crate zip to v7
All checks were successful
/ clippy (pull_request) Successful in 2m36s
3237e7ba33
renovate-bot bot force-pushed renovate/zip-7.x from 3237e7ba33
All checks were successful
/ clippy (pull_request) Successful in 2m36s
to 0e55016aab
All checks were successful
/ clippy (pull_request) Successful in 2m37s
2026-01-14 14:47:14 +01:00
Compare
renovate-bot bot force-pushed renovate/zip-7.x from 0e55016aab
All checks were successful
/ clippy (pull_request) Successful in 2m37s
to 1b40995c4e
All checks were successful
/ clippy (pull_request) Successful in 2m32s
2026-01-20 15:31:36 +01:00
Compare
All checks were successful
/ clippy (pull_request) Successful in 2m32s
Required
Details
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/zip-7.x:renovate/zip-7.x
git switch renovate/zip-7.x
Sign in to join this conversation.
No reviewers
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
bitsquid_dt/dtmt!326
No description provided.