Skip to content

Commit

Permalink
Try alternative zip backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed May 12, 2024
1 parent 3291b8a commit 58fc90e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 26 deletions.
25 changes: 11 additions & 14 deletions Cargo.lock

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

15 changes: 3 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,25 @@ base64 = "0.22.1"
bzip2 = "0.4.4"
clap = { version = "4.2.5", features = ["derive"] }
directories = "5.0.0"
flate2 = "1.0.30"
flate2 = { version = "1.0.30", features = ["zlib-rs"] }
fs4 = { version = "0.8", features = ["sync"] }
indicatif = { version = "0.17.3", features = ["improved_unicode"] }
once_cell = "1.17.1"
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 = "1.2.3", features = ["aes-crypto", "bzip2", "deflate", "deflate64", "deflate-zopfli", "lzma", "time", "zstd"], default-features = false }
zstd = "0.13.0"

[build-dependencies]
base64 = "0.22.1"
flate2 = "1.0.30"
flate2 = { version = "1.0.30", features = ["zlib-rs"] }
highway = "1.0.0"
rand = "0.8.5"
regex = "1.8.1"
reqwest = { version = "0.12", features = ["blocking", "rustls-tls"], default-features = false }
tar = "0.4.38"

# Avoid libz-ng-sys on PowerPC https://github.com/rust-lang/libz-sys/issues/183#issuecomment-2106318961
[target.'cfg(not(target_arch = "powerpc64"))'.dependencies]
zip = "1.2.3"
[target.'cfg(not(target_arch = "powerpc64"))'.build-dependencies]
zip = "1.2.3"

[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]
Expand Down

0 comments on commit 58fc90e

Please sign in to comment.