Skip to content

Commit

Permalink
Deps: update MSRV to 1.74 (#3530)
Browse files Browse the repository at this point in the history
- Bump MSRV to 1.74
- Update niffler to 3.0.0
- use `niffler/wasm` feature in wasm for all supported formats (bgzip,
bzip2, gzip, lzma, zstd)
- removed unused wee_alloc code
- bump typed_builder to 0.20
  • Loading branch information
luizirber authored Feb 13, 2025
1 parent c209e7d commit 2fa8fe9
Show file tree
Hide file tree
Showing 9 changed files with 1,150 additions and 1,403 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ jobs:

- name: run wasm tests
continue-on-error: true ## TODO: remove this when tests works again...
run: wasm-pack test --node src/core
run: wasm-pack test --node src/core -- --features 'niffler/wasm'

- name: run wasm-pack build
run: wasm-pack build src/core -d ../../pkg
run: wasm-pack build src/core -d ../../pkg -- --features 'niffler/wasm'

- name: Prepare package for NPM publishing
working-directory: pkg
Expand Down Expand Up @@ -217,12 +217,12 @@ jobs:

- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.71.1"
toolchain: "1.74.0"

- uses: Swatinem/rust-cache@v2

- name: check if README matches MSRV defined here
run: grep '1.71.1' src/core/README.md
run: grep '1.74.0' src/core/README.md

- name: Check if it builds properly
run: |
Expand Down
42 changes: 21 additions & 21 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ last-tag:
git fetch -p -q; git tag -l | sort -V | tail -1

wasm:
wasm-pack build src/core -d ../../pkg
wasm-pack build src/core -d ../../pkg -- --features 'niffler/wasm'

wasm-test:
wasm-pack test --node src/core
wasm-pack test --node src/core -- --features 'niffler/wasm'

wasi:
cargo wasi build
Expand Down
Loading

0 comments on commit 2fa8fe9

Please sign in to comment.