NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #1425 most downloaded on crates.io
a drop-in compatible rust bzip2 implementation
Latest stable
0.2.6
Last release 24 days ago
29 Oct 2026
Release timing varies
gaps range from 4 weeks to 8 months
Nearly every release is documented
notes for 9 of 10 stable releases
1 version withdrawn
withdrawn after publishing
2 years old
11 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
The main goal of this release is a security fix, see https://github.com/trifectatechfoundation/libbzip2-rs/security/advisories/GHSA-4j37-jjpm-9865. Th…
The main goal of this release is a security fix, see https://github.com/trifectatechfoundation/libbzip2-rs/security/advisories/GHSA-4j37-jjpm-9865. This issue is only present in the bzip2 CLI, not in the bzip2 library.
cargo cinstall by @Chocobo1 in https://github.com/trifectatechfoundation/libbzip2-rs/pull/143miri_compress_init_edge_cases fail on nth allocation by @Gelbpunkt in https://github.com/trifectatechfoundation/libbzip2-rs/pull/146Full Changelog: https://github.com/trifectatechfoundation/libbzip2-rs/compare/v0.2.5...v0.2.6
fix logic error in blocksort by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/138
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: https://github.com/trifectatechfoundation/libbzip2-rs/compare/v0.2.4...v0.2.5
A bunch of various fixes to make the Rust version match the C version, make documentation consistent and accurate, and work around some edge cases lik
A bunch of various fixes to make the Rust version match the C version, make documentation consistent and accurate, and work around some edge cases like very large allocations.
Full Changelog: https://github.com/trifectatechfoundation/libbzip2-rs/compare/v0.2.3...v0.2.4
add the audit report by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/115
--jobs 4 for the fuzzers by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/116BZ2_RNUMS by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/118--workspace no longer being passed by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/124bzip2 by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/129Cow for the input/output paths by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/128blocksort.rs by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/132BZ2_bzerror to not panic on a NULL pointer by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/131Full Changelog: https://github.com/trifectatechfoundation/libbzip2-rs/compare/v0.2.1...v0.2.3
add the audit report by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/115
--jobs 4 for the fuzzers by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/116BZ2_RNUMS by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/118Full Changelog: https://github.com/trifectatechfoundation/libbzip2-rs/compare/v0.2.1...v0.2.2
Performance improvements for (de)compression of small inputs
decompress actually decompress arbitrary bytes by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/104decompress_chunked fuzzer: handle larger inputs by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/106rotate_right by 1 by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/108rotate_right_1: special-case the 2-byte case by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/111fallback_sort by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/113Full Changelog: https://github.com/trifectatechfoundation/libbzip2-rs/compare/v0.2.0...v0.2.1
This is technically a breaking change, but unless you rely on rust exporting C symbols, you should not run into any issues when upgrading.
This is technically a breaking change, but unless you rely on rust exporting C symbols, you should not run into any issues when upgrading.
the export-symbols feature now controls whether C symbols are exported. This feature is off by default (that is why this is a breaking change; the behavior of earlier versions was to export those symbols). For rust users that is almost certainly the correct default, because it means libbzip2-rs can be used together with stock bzip2 in the same project. This should fix some issues with symbol clashes between bzip2-sys and libbzip2-sys.
export-symbols feature flag by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/101cargo llvm-cov nextest to run tests and gather coverage by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/102Full Changelog: https://github.com/trifectatechfoundation/libbzip2-rs/compare/v0.1.3...v0.2.0
Nothing published for this version
Mostly performance improvements, primarily to compression. We've also added the semver-prefix feature flag, that will prefix all exposed symbols with
Mostly performance improvements, primarily to compression. We've also added the semver-prefix feature flag, that will prefix all exposed symbols with a version-specific prefix, so that we don't clash with the C library (or different versions of ourselves). That means multiple versions of bzip2 can be used in the same dependency tree without any weird behavior.
bzip2-rs test suite by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/70un_rle_obuf_to_output_fast by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/72decompress.rs: faster input reading by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/85blocksort more by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/89semver-prefix feature for use by bzip2-rs by @folkertdev in https://github.com/trifectatechfoundation/libbzip2-rs/pull/92Full Changelog: https://github.com/trifectatechfoundation/libbzip2-rs/compare/v0.1.1...v0.1.2
ensure that the rust-allocator can be used without std (it just needs alloc )
Changelog
rust-allocator can be used without std (it just needs alloc)no_std mode, still panic instead of calling bz_internal_error. The cdylib crate still calls bz_internal_error in its panic handler to remain compatible, but for rust users an actual panic is desirable and plays nicer with building/linking.An initial release, consisting of 2 crates
An initial release, consisting of 2 crates
libbz2-rs-sys is a rust crate that exposes the full bzip2 API, defined in 100% rust (no FFI is used)libbz2-rs-sys-cdylib can be used to build a dynamic or static C library that is 100% compatible with stock bzip2One column per month.