Skip to content

Commit ee822d3

Browse files
authored
Fix!: clean up feature usage (#68)
Fix #56 Clean up feature usage. Removed many transitive features, and `xz` feature (use `lzma` feature instead). For projects that disable default features see updated instructions in README on how to use specific compression formats and their crate specific feature flags
1 parent c1a687d commit ee822d3

File tree

11 files changed

+333
-483
lines changed

11 files changed

+333
-483
lines changed

.github/workflows/main.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
cargo nextest run
5757
58-
test_all_feature_combinations:
58+
test_all_features:
5959
runs-on: ubuntu-latest
6060
steps:
6161
- uses: actions/checkout@v4
@@ -66,12 +66,13 @@ jobs:
6666

6767
- uses: taiki-e/install-action@nextest
6868

69-
- uses: taiki-e/install-action@v2
70-
with:
71-
tool: cargo-feature-combinations
72-
73-
- name: Run tests for all feature combinations
74-
run: cargo fc nextest run
69+
- name: Run tests for all features
70+
run: |
71+
cargo nextest run --no-default-features --features bgz,bgzip/default
72+
cargo nextest run --no-default-features --features bz2,bzip2/default
73+
cargo nextest run --no-default-features --features gz,flate2/default
74+
cargo nextest run --no-default-features --features lzma,liblzma/default
75+
cargo nextest run --no-default-features --features zstd,zstd/default
7576
7677
coverage:
7778
runs-on: ubuntu-latest

CHANGELOG.md

+24-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Fixed
1515

16+
## [3.0.0] - 2025-02-12
17+
18+
### Changed
19+
20+
- Clean up feature usage. Removed many transitive features,
21+
and `xz` feature (use `lzma` feature instead).
22+
For projects that disable default features see [updated instructions]
23+
on how to use specific compression formats and their crate specific
24+
feature flags (#68)
25+
26+
[updated instructions]: https://docs.rs/niffler/3.0.0/niffler/index.html#selecting-compression-formats
27+
28+
### Added
29+
30+
- Explicit `wasm` feature for compression formats supported in webassembly
31+
(`wasm32-unknown-unknown` target) (#72)
32+
- Pixi configuration for local development (#71)
33+
- CI: run benchmarks and upload results to codspeed.io
34+
- Deps: bump `bzip2` to `0.5.1`.
35+
36+
### Fixed
37+
1638
## [2.7.0] - 2025-01-24
1739

1840
### Added
@@ -137,7 +159,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
137159
- Rename crate from `ocf` to `niffler`
138160
- Import codebase from sourmash repo (which copied it from the yacrd repo)
139161

140-
[unreleased]: https://github.com/luizirber/niffler/compare/v2.7.0...HEAD
162+
[unreleased]: https://github.com/luizirber/niffler/compare/v3.0.0...HEAD
163+
[3.0.0]: https://github.com/luizirber/niffler/compare/v2.7.0..v3.0.0
141164
[2.7.0]: https://github.com/luizirber/niffler/compare/v2.6.0..v2.7.0
142165
[2.6.0]: https://github.com/luizirber/niffler/compare/v2.5.0..v2.6.0
143166
[2.5.0]: https://github.com/luizirber/niffler/compare/v2.4.0..v2.5.0

0 commit comments

Comments
 (0)