A minor release, but with some nice goodies.
We now support building C-compatible dynamic libraries with cargo c
. The readme of the libz-rs-sys-cdylib
crate has all the details.
Additionally, performance has improved drastically. We fixed an incorrect loop bound and started using the enable-dfa-jump-thread
llvm flag in our benchmarks, which give inflate performance that is consistently better than zlib-ng
. Meanwhile @brian-pane has been making some smaller improvements to deflate performance, where we already beat zlib-ng
in some, but not yet in all cases.
What's Changed
- run the flate2 test suite on CI by @folkertdev in #250
- Add a release checklist by @rnijveld in #251
- Revert "load the inflate reader and writer to the stack" by @folkertdev in #252
- Add the metadata needed by cargo-c by @lu-zero in #176
- rust 1.83.0 clippy fixes by @folkertdev in #254
- Avoid an out-of-bounds panic in deflate_stored by @bjorn3 in #255
- cdylib cleanup by @folkertdev in #256
- inflate: make use of
enable-dfa-jump-thread
by @folkertdev in #257 - Parallelize the checking of the first two bytes of a potential match. by @brian-pane in #259
- Fix
inflate_fast_help
loop bound by @folkertdev in #260 - Small additional speedup for deflate_quick by @brian-pane in #262
- Inline the fast path of BitWriter::send_bits by @brian-pane in #258
- release version 0.4.1 by @folkertdev in #265
New Contributors
- @lu-zero made their first contribution in #176
- @brian-pane made their first contribution in #259
Full Changelog: v0.4.0...v0.4.1