Skip to content

Commit 5400434

Browse files
authored
Unify zip and async_zip compression methods (#13781)
## Summary #13285 added additional compression methods for `async_zip`, but they should also be added to `zip` to support local wheel installation, on top of the ones retrieved over network. ## Test Plan Installation of local wheels with alternative compression schemes now works (e.g. `uv add test.whl`)
1 parent b5e7ad2 commit 5400434

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

Cargo.lock

Lines changed: 40 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ windows-sys = { version = "0.59.0", features = ["Win32_Foundation", "Win32_Secur
190190
winsafe = { version = "0.0.24", features = ["kernel"] }
191191
wiremock = { version = "0.6.2" }
192192
xz2 = { version = "0.1.7" }
193-
zip = { version = "2.2.3", default-features = false, features = ["deflate"] }
193+
zip = { version = "2.2.3", default-features = false, features = ["deflate", "zstd", "bzip2", "lzma", "xz"] }
194194

195195
[workspace.metadata.cargo-shear]
196196
ignored = ["flate2", "xz2"]

0 commit comments

Comments
 (0)