NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1258 most downloaded on crates.io
A memory-safe zlib implementation written in rust
Last release 23 days ago
15 Sep 2026
Release timing varies
gaps range from 9 days to 4 months
Some releases are documented
notes for 11 of 25 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
25 releases · first in 2024
merge env sections in yaml by @folkertdev in #558
Full Changelog: v0.6.7...v0.6.8
One column per month.
add linux-loongarch64 runner by @folkertdev in #543
linux-loongarch64 runner by @folkertdev in #543set_level by @folkertdev in #552Full Changelog: v0.6.6...v0.6.7
We now support the zlib 1.3.2 API, including deflateUsed and various symbols suffixed by _z to indicate that they use usize for lengths. That is mostl
We now support the zlib 1.3.2 API, including deflateUsed and various symbols suffixed by _z to indicate that they use usize for lengths. That is mostly useful on targets where c_ulong is only a 32-bit integer.
deflateUsed by @folkertdev in #534{compress, uncompress, etc.}_z variants that take usize for lengths by @folkertdev in #535Full Changelog: v0.6.5...v0.6.6
Fixes an MSRV issue on AArch64.
Fixes an MSRV issue on AArch64.
Full Changelog: v0.6.3...v0.6.5
Adds a fix for the raptor lake CPU bug and for an off-by-one error in adler32 on aarch64 resulting in an incorrect checksum.
Adds a fix for the raptor lake CPU bug and for an off-by-one error in adler32 on aarch64 resulting in an incorrect checksum.
infback by @folkertdev in #497gzopen behavior around lseek64 by @folkertdev in #493>= y + 1 or x - 1 >= by @folkertdev in #503window_bits by @folkertdev in #505pair mod BASE after handle_tail on aarch64 NEON by @shenxiul in #504inflateBackInit_ by @folkertdev in #507NULL when the requested allocation is too large by @folkertdev in #508aarch64_be by @folkertdev in #512Cargo.lock by @folkertdev in #521loongarch64 crc32 implementation with Miri by @folkertdev in #523Full Changelog: v0.6.3...v0.6.4
A while ago a bug was reported in zlib-rs #459 , which turned out to also exist in zlib-ng. zlib-ng has now fixed the bug and made a new release, and
A while ago a bug was reported in zlib-rs #459, which turned out to also exist in zlib-ng. zlib-ng has now fixed the bug and made a new release, and we're following suit here. This fix can change the output of compression slightly.
all-features and --no-default-features builds by @folkertdev in #480Full Changelog: v0.6.2...v0.6.3
fix overflows in deflate by @folkertdev in #474
Replace run-time asserts with compile time in deflate tally functions by @brian-pane in #450
as _ casts with return codes by @Mrmaxmeier in #456compress returning incorrect error value by @Mrmaxmeier in #454C-unwind into just C by @folkertdev in #441std by default when building a cdylib by @folkertdev in #462getrandom to 0.2.17 by @folkertdev in #464gz docs updates by @folkertdev in #463inftrees.rs improvements by @folkertdev in #471total_{in, out} on windows by @folkertdev in #473Full Changelog: v0.5.5...v0.6.1
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
libz-rs-sys
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
uncompress_slice function was renamed to decompress_slicegz* functions are now included in the main crate. Thanks again to @brian-pane for implementing these.inflateBack was added). The gzprintf and gzvprintf functions need nightly though.avx512 support.as _ casts with return codes by @Mrmaxmeier in #456compress returning incorrect error value by @Mrmaxmeier in #454C-unwind into just C by @folkertdev in #441std by default when building a cdylib by @folkertdev in #462getrandom to 0.2.17 by @folkertdev in #464gz docs updates by @folkertdev in #463Full Changelog: v0.5.5...v0.6.0
use global allocator by @folkertdev in #446
c_uint by @folkertdev in #449Full Changelog: v0.5.4...v0.5.5
Export missing functions by @folkertdev in #440
gzvprintf by @folkertdev in #435uncompress2 by @folkertdev in #436c_variadic API by @folkertdev in #443set_dictionary and set_level to stable api by @folkertdev in #444Full Changelog: v0.5.3...v0.5.4
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →