From 9364df472c131256cbd4a99006f573240732f4b1 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Sun, 26 May 2024 11:22:37 -0400 Subject: [PATCH] Simplify zip feature requirements (#137) --- .github/workflows/test.yml | 3 ++- Cargo.toml | 8 ++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a8c6d2a..5e37bb5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index e422c7b..e03dcf0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,9 +21,7 @@ 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" [build-dependencies] @@ -34,9 +32,7 @@ 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" [profile.release] panic = "abort"