diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25b643fe..3cef1ada 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -77,13 +77,25 @@ jobs: minimum: name: Minimum Rust compiler - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-2022, macos-latest, ubuntu-latest] env: # If this is changed to pass tests, then set `rust-version` in `Cargo.toml` to the same version. - version: 1.56.1 + version: 1.63.0 steps: - uses: actions/checkout@v4 - name: Install Rust (rustup) - run: rustup update ${version} --no-self-update && rustup default ${version} + run: | + rustup toolchain install ${version} nightly --profile minimal --no-self-update + rustup default ${version} + cargo +nightly update -Zminimal-versions shell: bash - run: cargo build + - run: cargo build --features zlib + - run: cargo build --features zlib --no-default-features + - run: cargo build --features zlib-default --no-default-features + - run: cargo build --features zlib-ng-compat --no-default-features + - run: cargo build --features zlib-ng --no-default-features + - run: cargo build --features cloudflare_zlib --no-default-features diff --git a/Cargo.toml b/Cargo.toml index 69d4e2de..47c7421d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "flate2" authors = ["Alex Crichton ", "Josh Triplett "] -version = "1.0.32" +version = "1.0.33" edition = "2018" license = "MIT OR Apache-2.0" readme = "README.md" @@ -19,8 +19,8 @@ and raw deflate streams. exclude = [".*"] [dependencies] -libz-sys = { version = "1.1.8", optional = true, default-features = false } -libz-ng-sys = { version = "1.1.8", optional = true } +libz-sys = { version = "1.1.20", optional = true, default-features = false } +libz-ng-sys = { version = "1.1.16", optional = true } libz-rs-sys = { version = "0.2.1", optional = true, default-features = false, features = ["std", "rust-allocator"] } cloudflare-zlib-sys = { version = "0.3.0", optional = true } miniz_oxide = { version = "0.8.0", optional = true, default-features = false, features = ["with-alloc"] }