Skip to content

Commit

Permalink
allow gz_lib-ng (without compat) (#69)
Browse files Browse the repository at this point in the history
I have a tool where, for stupid zlib linking reasons, I need to use
flate2's zlib-ng and not zlib-ng-compat. This patch bumps the deps and
adds that optional feature to niffler.

To allow building my other crate, I've created a fork crate
(`niffler-temp`) but I can revert back to this once this is merged and a
new version put on crates.io.

Thanks!

---------

Co-authored-by: Luiz Irber <[email protected]>
  • Loading branch information
rob-p and luizirber authored Jan 24, 2025
1 parent 3f6aaf6 commit 45ee8ba
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 125 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
use-tool-cache: true

- name: Run cargo-tarpaulin
run: cargo tarpaulin --all-features --locked --timeout 600 --out Xml -- --test-threads 1
run: cargo tarpaulin --locked --timeout 600 --out Xml -- --test-threads 1

- name: Upload coverage to codecov
uses: codecov/codecov-action@v4
Expand Down Expand Up @@ -152,6 +152,8 @@ jobs:

- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
feature-group: default-features

minimum_rust_version:
runs-on: ubuntu-latest
Expand All @@ -160,20 +162,20 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: 1.65.0
toolchain: 1.74.0
override: true

- name: check if README matches MSRV defined here
run: grep '1.65.0' README.md
run: grep '1.74.0' README.md

- name: check if Cargo.toml matches MSRV defined here
run: grep 'rust-version = "1.65"' Cargo.toml
run: grep 'rust-version = "1.74"' Cargo.toml

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast --locked
args: --no-fail-fast --locked

wasm:
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 45ee8ba

Please sign in to comment.