Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@folkertdev folkertdev released this 01 Apr 12:20
· 76 commits to main since this release
v0.5.0

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 zlib-rs can be used together with stock zlib or zlib-ng in the same project. This should fix some issues with symbol clashes between libz-sys (used e.g. by openssl) and zlib-rs.
  • the cdylib crate now uses panic=abort. For C users, that is the only safe way to panic, because unwinding to C is unsound.
  • Some simplifications to simd code: in a number of cases, LLVM optimizes safe rust code to the equivalent assembly that we achieved with explicit simd before.

What's Changed

Full Changelog: v0.4.2...v0.5.0