Skip to content

Commit

Permalink
Update zip
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed May 12, 2024
1 parent fc35620 commit 220f488
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 54 deletions.
203 changes: 152 additions & 51 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ os_pipe = "1.1.4"
reqwest = { version = "0.12", features = ["blocking", "rustls-tls"], default-features = false }
tar = "0.4.38"
tempfile = "3.5.0"
zip = { version = "0.6.4", features = ["deflate"] }
zip = "1.2.3"
zstd = "0.13.0"

[build-dependencies]
Expand All @@ -32,7 +32,13 @@ rand = "0.8.5"
regex = "1.8.1"
reqwest = { version = "0.12", features = ["blocking", "rustls-tls"], default-features = false }
tar = "0.4.38"
zip = { version = "0.6.4", features = ["deflate"] }
zip = "1.2.3"

# Avoid libz-ng-sys on PowerPC https://github.com/rust-lang/libz-sys/issues/183#issuecomment-2106318961
[target.'cfg(target_arch = "powerpc64")'.dependencies]
zip = { version = "1.2.3", features = ["aes-crypto", "bzip2", "deflate", "deflate64", "deflate-zopfli", "lzma", "time", "zstd"], default-features = false }
[target.'cfg(target_arch = "powerpc64")'.build-dependencies]
zip = { version = "1.2.3", features = ["aes-crypto", "bzip2", "deflate", "deflate64", "deflate-zopfli", "lzma", "time", "zstd"], default-features = false }

[profile.release]
panic = "abort"
Expand Down
Loading

0 comments on commit 220f488

Please sign in to comment.