Skip to content

Releases: trifectatechfoundation/bzip2-rs

v0.6.0

17 Jun 10:05
71d5b03

Choose a tag to compare

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

Full Changelog: v0.5.2...v0.6.0

Version 0.5.2 (and 0.1.13 for `bzip2-sys`)

28 Feb 14:00
v0.5.2
f5f9d09

Choose a tag to compare

Some minor fixes this time

  • better wasm support (and we test wasm on CI)
  • make bz_internal_error an extern fn by @folkertdev in #135 fixes a soundness issue. This is technically a semver-breaking change, but major versions for -sys crates create a lot of churn. We don't expect users to run into this

What's Changed

New Contributors

Full Changelog: v0.5.1...v0.5.2

Version 0.5.1 (and 0.1.12 for `bzip2-sys`)

11 Feb 13:47
v0.5.1

Choose a tag to compare

Highlights

Most changes relate to libbz2-rs-sys: we no longer enable the static feature, and now including different versions, that use either the C or the rust -sys crate, all work together in the same build.

What's Changed

New Contributors

Full Changelog: v0.5.0...v0.5.1

Version 0.5.0

11 Dec 15:58
v0.5.0

Choose a tag to compare

The 0.5.0 release is the first release in ~2 years. It sets an msrv of 1.65.0 and pins the 2021 edition. If the msrv or edition are a problem for your project: just stick with the 0.4.4 release.

The repository has moved from @alexcrichton to @trifectatechfoundation, which takes on its maintainership from this point forward.

The main new feature of this release is the libbz2-rs-sys feature flag, which uses the pure rust https://github.com/trifectatechfoundation/libbzip2-rs implementation of bzip2. Being all rust, and using (by default) the rust allocator infrastructure, cross-compilation (e.g. to webassembly) should be much easier.

Besides that, the documentation was modernized (we can cross-link now) and several bugs were fixed.

What's Changed

New Contributors

Full Changelog: 0.4.4...v0.5.0