Commit 7cd2206
authored
chore(deps): update rust crate zip to v8 (#7059)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [zip](https://redirect.github.com/zip-rs/zip2) |
workspace.dependencies | major | `6.0.0` → `8.0.0` |
---
### Release Notes
<details>
<summary>zip-rs/zip2 (zip)</summary>
###
[`v8.2.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#820---2026-03-02)
[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v8.1.0...v8.2.0)
##### <!-- 0 -->🚀 Features
- allow custom salt
([#​680](https://redirect.github.com/zip-rs/zip2/pull/680))
- Support compressing bzip2 when feature `bzip2-rs` is enabled, since
`bzip2/bzip2-sys` now supports it
([#​685](https://redirect.github.com/zip-rs/zip2/pull/685))
- enforce clippy in CI
([#​674](https://redirect.github.com/zip-rs/zip2/pull/674))
##### <!-- 1 -->🐛 Bug Fixes
- zip64 central header (issue 617)
([#​629](https://redirect.github.com/zip-rs/zip2/pull/629))
- allow aes password as bytes
([#​686](https://redirect.github.com/zip-rs/zip2/pull/686))
- handle extra field padding
([#​682](https://redirect.github.com/zip-rs/zip2/pull/682))
##### <!-- 2 -->🚜 Refactor
- Simplify 2 type conversions in src/write.rs
([#​687](https://redirect.github.com/zip-rs/zip2/pull/687))
##### <!-- 4 -->⚡ Performance
- AI tweaks for string type conversions in src/types.rs
([#​670](https://redirect.github.com/zip-rs/zip2/pull/670))
###
[`v8.1.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#810---2026-02-16)
[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v8.0.0...v8.1.0)
##### <!-- 0 -->🚀 Features
- *(writer)* Allow getting underlying writer of ZipWriter
([#​464](https://redirect.github.com/zip-rs/zip2/pull/464))
- add system to FileOption, so byte-for-byte identical archives can be
created across platforms
([#​660](https://redirect.github.com/zip-rs/zip2/pull/660))
##### <!-- 1 -->🐛 Bug Fixes
- Bugs in extra-data length calculation in src/write.rs
([#​662](https://redirect.github.com/zip-rs/zip2/pull/662))
###
[`v8.0.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#800---2026-02-14)
[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v7.4.0...v8.0.0)
##### <!-- 0 -->🚀 Features
- document zip flags as enum
([#​639](https://redirect.github.com/zip-rs/zip2/pull/639))
- Migrate to Rust 2024
([#​650](https://redirect.github.com/zip-rs/zip2/pull/650))
- \[**breaking**] Remove deprecated methods of `DateTime`
([#​597](https://redirect.github.com/zip-rs/zip2/pull/597))
###
[`v7.4.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#740---2026-02-05)
[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v7.3.0...v7.4.0)
##### <!-- 0 -->🚀 Features
- Increase MSRV to 1.88 and update dependencies
([#​626](https://redirect.github.com/zip-rs/zip2/pull/626))
###
[`v7.3.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#730---2026-02-04)
[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v7.2.0...v7.3.0)
##### <!-- 0 -->🚀 Features
- cleanup the benchmarks and Cargo.toml
([#​606](https://redirect.github.com/zip-rs/zip2/pull/606))
- Add support for per-file comments
([#​543](https://redirect.github.com/zip-rs/zip2/pull/543))
##### <!-- 1 -->🐛 Bug Fixes
- Document feature `unreserved` and make the mapping of extra fields
public ([#​616](https://redirect.github.com/zip-rs/zip2/pull/616))
- Return an error if abort\_file() fails when exceeding non-large-file
limit ([#​598](https://redirect.github.com/zip-rs/zip2/pull/598))
##### <!-- 7 -->⚙️ Miscellaneous Tasks
- Bump version to 7.3.0 (semver checks fail if it's still 7.3.0-pre1)
###
[`v7.2.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#720---2026-01-20)
[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v7.1.0...v7.2.0)
##### <!-- 0 -->🚀 Features
- add read\_zipfile\_from\_stream\_with\_compressed\_size
([#​70](https://redirect.github.com/zip-rs/zip2/pull/70))
- Allow choosing bzip2 rust backend
([#​329](https://redirect.github.com/zip-rs/zip2/pull/329))
##### <!-- 1 -->🐛 Bug Fixes
- Need to include zip64 extra field in central directory (fix
[#​353](https://redirect.github.com/zip-rs/zip2/issues/353))
([#​360](https://redirect.github.com/zip-rs/zip2/pull/360))
- Fails to extract file which might or might not be malformed
([#​376](https://redirect.github.com/zip-rs/zip2/pull/376))
([#​426](https://redirect.github.com/zip-rs/zip2/pull/426))
- *(aes)* Allow AES encryption while streaming
([#​463](https://redirect.github.com/zip-rs/zip2/pull/463))
- Default "platform" field in zip files should be set to the local
platform, rather than always "Unix"
([#​470](https://redirect.github.com/zip-rs/zip2/pull/470))
([#​471](https://redirect.github.com/zip-rs/zip2/pull/471))
##### <!-- 2 -->🚜 Refactor
- Define cfg\_if! and cfg\_if\_expr! internal macros
([#​438](https://redirect.github.com/zip-rs/zip2/pull/438))
##### <!-- 4 -->⚡ Performance
- Change an assert to debug\_assert when encrypting/decrypting AES, and
eliminate a fallible operation
([#​521](https://redirect.github.com/zip-rs/zip2/pull/521))
- eliminate a String clone per new file added to archive, and other
related refactors
([#​522](https://redirect.github.com/zip-rs/zip2/pull/522))
###
[`v7.1.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#710---2026-01-14)
[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v7.0.0...v7.1.0)
##### <!-- 0 -->🚀 Features
- display the underlying error in Display impl for `ZipError`
([#​483](https://redirect.github.com/zip-rs/zip2/pull/483))
- Enable creation of `ZipArchive` without reparsing
([#​485](https://redirect.github.com/zip-rs/zip2/pull/485))
##### <!-- 1 -->🐛 Bug Fixes
- Return InvalidPassword rather than panic when AES key is the wrong
length ([#​457](https://redirect.github.com/zip-rs/zip2/pull/457))
- bench with auto zip64 comment
([#​505](https://redirect.github.com/zip-rs/zip2/pull/505))
- add condition for `getrandom` dependency
([#​504](https://redirect.github.com/zip-rs/zip2/pull/504))
- *(zipcrypto)* Support streaming ZipCrypto encryption, don't store
entire file in memory
([#​462](https://redirect.github.com/zip-rs/zip2/pull/462))
##### <!-- 2 -->🚜 Refactor
- Clean up imports and move types
([#​461](https://redirect.github.com/zip-rs/zip2/pull/461))
- Replace handwritten `Ord` and `PartialOrd` for `DateTime`
([#​484](https://redirect.github.com/zip-rs/zip2/pull/484))
##### <!-- 7 -->⚙️ Miscellaneous Tasks
- Lock `lzma-rust2` to at least 0.15.5
([#​491](https://redirect.github.com/zip-rs/zip2/pull/491))
###
[`v7.0.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#700---2025-12-05)
[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v6.0.0...v7.0.0)
##### <!-- 9 -->1 parent 5088456 commit 7cd2206
2 files changed
Lines changed: 18 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| |||
0 commit comments