#zlib #memory-safe #flate2 #api

no-std zlib-rs

A memory-safe zlib implementation written in rust

10 unstable releases (4 breaking)

new 0.4.2 Feb 20, 2025
0.4.1 Dec 16, 2024
0.4.0 Nov 14, 2024
0.2.1 Jul 8, 2024
0.0.1 Feb 23, 2024

#92 in Compression

Download history 2661/week @ 2024-10-30 2300/week @ 2024-11-06 3067/week @ 2024-11-13 4522/week @ 2024-11-20 4682/week @ 2024-11-27 3647/week @ 2024-12-04 6111/week @ 2024-12-11 4947/week @ 2024-12-18 3422/week @ 2024-12-25 3163/week @ 2025-01-01 6111/week @ 2025-01-08 7185/week @ 2025-01-15 7304/week @ 2025-01-22 19214/week @ 2025-01-29 34178/week @ 2025-02-05 24816/week @ 2025-02-12

87,089 downloads per month
Used in 23 crates (4 directly)

Zlib license

485KB
11K SLoC

⚠️ UNSTABLE⚠️

the public interface of this crate is unstable!

A pure-rust implementation of zlib.

For a zlib -compatible rust api of this crate, see libz-rs-sys. For a more high-level interface, use flate2.

Dependencies