PackageTrack
Sign in Get early access

bzip2

Bindings to libbzip2 for bzip2 compression and decompression exposed as Reader/Writer streams.

0.6.1 153M downloads/mo #605 most downloaded on crates.io trifectatechfoundation/bzip2-rs

What this package is like to depend on

Last release 10 months ago

16 Oct 2025

Release timing varies

gaps range from 2 weeks to 2.2 years

Rarely documented

notes for 4 of 25 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

25 releases · first in 2014

1 release in the last 12 months

see the full history below

Release timeline

25 releases · Nov 2014 to Oct 2025
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 25
  1. 0.6.1 16 Oct 2025

    Nothing published for this version

  2. 0.6.0 17 Jun 2025
    Release notes

    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

    Open source →
  3. 0.5.2 28 Feb 2025
    Release notes

    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

    Open source →
  4. 0.5.1 11 Feb 2025
    Release notes

    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

    Open source →
  5. 0.5.0 11 Dec 2024
    Release notes

    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

    Open source →
  6. 0.4.4 05 Jan 2023

    Nothing published for this version

  7. 0.4.3 09 Jun 2021

    Nothing published for this version

  8. 0.4.2 19 Feb 2021

    Nothing published for this version

  9. 0.4.1 06 Jul 2020

    Nothing published for this version

  10. 0.3.3 03 May 2018

    Nothing published for this version

  11. 0.3.2 12 Apr 2017

    Nothing published for this version

  12. 0.3.1 20 Jan 2017

    Nothing published for this version

  13. 0.3.0 08 Feb 2016

    Nothing published for this version

  14. 0.2.4 01 Feb 2016

    Nothing published for this version

  15. 0.2.3 03 Apr 2015

    Nothing published for this version

  16. 0.2.2 02 Apr 2015

    Nothing published for this version

  17. 0.2.1 26 Mar 2015

    Nothing published for this version

  18. 0.2.0 24 Feb 2015

    Nothing published for this version

  19. 0.1.3 28 Jan 2015

    Nothing published for this version

  20. 0.1.2 23 Jan 2015

    Nothing published for this version

  21. 0.1.1 09 Jan 2015

    Nothing published for this version

  22. 0.1.0 05 Jan 2015

    Nothing published for this version

  23. 0.0.3 19 Nov 2014

    Nothing published for this version

  24. 0.0.2 19 Nov 2014

    Nothing published for this version

  25. 0.0.1 13 Nov 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive