Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
a09236f
initial liblzma-rs with sys equivalence tests
youknowone Feb 26, 2026
8512162
replace C types with Rust types
youknowone Feb 27, 2026
70ee0b2
remove c_uint casts, replace with u32
youknowone Feb 27, 2026
b178d87
fix: restore my_min intent, rename literal
youknowone Feb 27, 2026
25d740b
narrow unsafe scope across all modules
youknowone Feb 27, 2026
79a6c18
centralize structs and remove c2rust boilerplate
youknowone Mar 1, 2026
6c78150
remove redundant c_int and other type casts
youknowone Mar 1, 2026
fede580
replace c2rust patterns: let ref mut, c_int constants to u32, wrappin…
youknowone Mar 1, 2026
ce149f7
simplify c2rust syntax: returns, casts, negations, pointer ops, memcpy
youknowone Mar 1, 2026
719a6ce
centralize extern declarations, constants, and helper functions into …
youknowone Mar 1, 2026
d7425a4
move C ABI boundary to liblzma-rs-sys
youknowone Mar 2, 2026
83e5c43
build: raise msrv, fix CI, enable parallel tests
youknowone Mar 3, 2026
61371c1
refactor: use Rust memchr in liblzma-rs
youknowone Mar 14, 2026
90c1615
alloc: move internal memory to Rust allocator
youknowone Mar 14, 2026
60a8273
Remove #[no_mangle] from liblzma-rs, replace extern "C" {} blocks wit…
youknowone Mar 15, 2026
d8023d3
perf: simplify encoder hot paths and add #[inline]
youknowone Mar 15, 2026
00f31b8
Add dual backend support (rust-backend/c-backend) with feature flags
youknowone Mar 15, 2026
0a127ea
refactor: simplify encoder/decoder control flow
youknowone Mar 15, 2026
49169c9
perf: optimize match finder and optimum normal paths
youknowone Mar 17, 2026
a231b47
review: guard wrapper callbacks and apply safety fixes
youknowone Mar 17, 2026
e8314ca
remove extern "C" from internal functions not used as callbacks
youknowone Mar 19, 2026
15a05ba
remove extern "C" from private internal functions
youknowone Mar 19, 2026
0ddd028
perf: trim optimum normal and bt match finder hot paths
youknowone Mar 19, 2026
55aa151
perf: outline cold optimum-normal branches
youknowone Mar 19, 2026
2af7019
perf: simplify bt4 find header arithmetic
youknowone Mar 20, 2026
76a3ed8
perf: shrink lzma encode hot path
youknowone Mar 20, 2026
b55c05c
Replace unnecessary wrapping arithmetic with plain ops in delta, simp…
youknowone Mar 20, 2026
7eabd20
Replace wrapping arithmetic with plain ops in lz_encoder_mf and lzma2…
youknowone Mar 20, 2026
0f5c9c4
Replace wrapping arithmetic with plain ops in common, lz, lzma_encode…
youknowone Mar 20, 2026
b83cc58
perf: match C memcmplen fast path
youknowone Mar 20, 2026
c550339
perf: simplify optimum fast encoder path
youknowone Mar 20, 2026
64978f6
Revert broken lzma_decoder.rs from previous commit
youknowone Mar 20, 2026
360c6ae
Replace wrapping ops with plain arithmetic in lzma encoder modules
youknowone Mar 20, 2026
a97d2bf
perf: outline optimum normal helper2
youknowone Mar 20, 2026
5b8d1fc
perf: outline lzma encode out-limit path
youknowone Mar 20, 2026
4ccb742
perf: outline lzma decoder resume dispatch
youknowone Mar 20, 2026
553001a
perf: remove optimum fast bounds checks
youknowone Mar 20, 2026
a598dc0
perf: trim length price updates
youknowone Mar 20, 2026
b58049a
perf: remove range encoder bounds checks
youknowone Mar 20, 2026
c9e49b2
perf: hoist optimum-fast match finder callbacks
youknowone Mar 20, 2026
67ba55d
perf: trim hc4 match finder indexing
youknowone Mar 27, 2026
6a4d50e
refactor: outline stream encoder update branches
youknowone Mar 27, 2026
62835e8
refactor: outline stream encoder mt init branches
youknowone Mar 27, 2026
a7ea1dc
refactor: outline stream encoder mt phases
youknowone Mar 27, 2026
4f43dc1
refactor: simplify file info decode state machine
youknowone Mar 27, 2026
bcf3589
refactor: outline stream decoder mt init phases
youknowone Mar 28, 2026
28626a5
toolchain compatibility
youknowone Mar 30, 2026
4c00fef
fix: restore wasm arm64 wrapping semantics
youknowone Mar 30, 2026
f1391d6
ci: pin wasm bindgen and narrow emscripten tests
youknowone Mar 30, 2026
7e76413
build: upgrade wasm-bindgen stack
youknowone Mar 30, 2026
7b4db06
ci: fix emscripten wasm job
youknowone Apr 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
include:
- os: ubuntu-latest
rust: '1.60' # msrv
rust: '1.63' # msrv
- os: ubuntu-latest
rust: stable
- os: ubuntu-latest
Expand Down Expand Up @@ -56,11 +56,11 @@ jobs:
run: echo LZMA_API_STATIC=1 >> $GITHUB_ENV
shell: bash
- name: copy Cargo.lock for msrv check
if: matrix.rust == '1.60'
if: matrix.rust == '1.63'
run: |
cp Cargo.lock.msrv Cargo.lock
- run: |
cargo test --no-default-features
cargo test --no-default-features --features rust-backend
cargo clean -p liblzma -p liblzma-sys
- run: |
cargo test --features parallel
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/webassembly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ jobs:
name: Run test
run: |
cargo test --locked --target ${{ matrix.target }} --features wasm
- if: ${{ endsWith(matrix.target, 'unknown') }}
- if: ${{ matrix.target == 'wasm32-unknown-unknown' }}
name: Run test
run: |
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo binstall -y --force wasm-bindgen-cli
cargo binstall -y --force wasm-bindgen-cli@0.2.115
cargo test --locked --target ${{ matrix.target }} --features wasm --release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For ease GitHub API rate limits
- name: Run test
if: ${{ startsWith(matrix.target, 'wasm32-unknown-emscripten') }}
run: |
cargo test --locked --target ${{ matrix.target }} --features wasm -- --skip standard_files
cargo test --locked --target ${{ matrix.target }} --lib --tests --features wasm -- --skip standard_files
env:
RUSTFLAGS: "-C link-args=-sINITIAL_MEMORY=128MB"
Loading