Highlights
This release switches to libbz2-rs-sys as the default bzip2 backend. It is written in rust, making it much easier to cross-compile. The new implementation is also more performant.
The rust implementation does not export C symbols by default. An explicit dependency on libbz2-rs-sys
and setting the export-symbols
feature flag will fix that if needed.
The bzip2-sys
feature flag can be used to continue to use the C backend (either the system library of a C version built from source).
This is a breaking release, given that we want this update to be opt-in. We've used the occasion to perform an MSRV bump to 1.82.0
. The libbz2-rs-sys
crate has the bzip2-1.0.6
license. Arguably, that is the license that bzip2-sys
should have had too, given that it is just a wrapper of the original bzip2 (and libbz2-rs-sys
is a derivative work). You may need to allow this license when using cargo-deny
.
What's Changed
- Release 0.6.0 by @folkertdev in #141
Full Changelog: v0.5.2...v0.6.0