Skip to content

Releases: trifectatechfoundation/libbzip2-rs

v0.2.1

16 Jun 14:03
v0.2.1
22b9057
Compare
Choose a tag to compare

Highlights

  • Performance improvements for (de)compression of small inputs
  • Fix off-by-one error in a manual bounds check by @folkertdev in #110

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.2.1

v0.2.0

16 Apr 10:55
v0.2.0
d5ad4df
Compare
Choose a tag to compare

This is technically a breaking change, but unless you rely on rust exporting C symbols, you should not run into any issues when upgrading.

highlights

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.

What's Changed

New Contributors

Full Changelog: v0.1.3...v0.2.0

v0.1.2

10 Feb 12:40
v0.1.2
2f68c2e
Compare
Choose a tag to compare

What's Changed

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.

New Contributors

Full Changelog: v0.1.1...v0.1.2

Version 0.1.1

11 Dec 14:30
v0.1.1
Compare
Choose a tag to compare

Changelog

  • ensure that the rust-allocator can be used without std (it just needs alloc)
  • in 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.

Version 0.1.0

04 Dec 14:58
v0.1.0
05a52ff
Compare
Choose a tag to compare

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 bzip2