zlib-rs breaking changes

cargo

3 curated breaking changes across major versions of zlib-rs. Use this as a migration checklist before bumping dependencies.

3
changes
Breaking changes by transition
  • v0.5.5 \u2192 v0.6.0breaking

    functions that used `extern "C-unwind"` before now use `extern "C"`. This helps when building zlib-rs as a C library, because unwinding from rust into C is UB. Now, if a panic does occur in the rust code, it will abort the program at the FFI boundary rather than unwind into C code. If you do really need unwinding in rust code, we suggest using `flate2` or using `zlib-rs` directly. **zlib-rs**

  • v0.5.5 \u2192 v0.6.0breaking

    the internals are no longer publicly exposed. If you were using some unstable symbol before, and it is no longer exported, but you do believe it would be reasonable for us to provide it, let us know.

  • v0.5.5 \u2192 v0.6.0breaking

    the `uncompress_slice` function was renamed to `decompress_slice`

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/cargo/zlib-rs