Skip to content

Commit

Permalink
Use libz-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed May 26, 2024
1 parent b294020 commit 6a98598
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
os: windows-2022
# macOS
- target: aarch64-apple-darwin
os: macos-12
os: macos-14
test: true
- target: x86_64-apple-darwin
os: macos-12
test: true
Expand Down
19 changes: 19 additions & 0 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ os_pipe = "1.1.5"
reqwest = { version = "0.12.4", features = ["blocking", "rustls-tls"], default-features = false }
tar = "0.4.40"
tempfile = "3.10.1"
# Remove dependence on CMake by avoiding libz-ng-sys, see:
# https://github.com/rust-lang/libz-sys/pull/174
zip = { version = "2.1.0", features = ["aes-crypto", "bzip2", "deflate", "deflate64", "deflate-zopfli", "lzma", "time", "zstd"], default-features = false }
zip = "2.1.0"
zstd = "0.13.1"
# Use the fastest implementation (libz-ng) but remove dependence on CMake
libz-sys = { version = "1.1.18", features = ["zlib-ng-no-cmake-experimental-community-maintained"], default-features = false }

[build-dependencies]
base64 = "0.22.1"
Expand All @@ -34,9 +34,9 @@ rand = "0.8.5"
regex = "1.8.1"
reqwest = { version = "0.12.4", features = ["blocking", "rustls-tls"], default-features = false }
tar = "0.4.40"
# Remove dependence on CMake by avoiding libz-ng-sys, see:
# https://github.com/rust-lang/libz-sys/pull/174
zip = { version = "2.1.0", features = ["aes-crypto", "bzip2", "deflate", "deflate64", "deflate-zopfli", "lzma", "time", "zstd"], default-features = false }
zip = "2.1.0"
# Use the fastest implementation (libz-ng) but remove dependence on CMake
libz-sys = { version = "1.1.18", features = ["zlib-ng-no-cmake-experimental-community-maintained"], default-features = false }

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

0 comments on commit 6a98598

Please sign in to comment.