6 releases

0.3.6 Mar 11, 2025
0.3.4 Jan 8, 2025
0.3.3 Nov 16, 2023
0.3.0 Apr 9, 2021
0.1.2 Jun 1, 2018

#325 in Compression

Download history 2688/week @ 2025-01-17 2288/week @ 2025-01-24 3805/week @ 2025-01-31 3309/week @ 2025-02-07 3463/week @ 2025-02-14 3304/week @ 2025-02-21 3797/week @ 2025-02-28 3028/week @ 2025-03-07 2456/week @ 2025-03-14 1955/week @ 2025-03-21 2686/week @ 2025-03-28 2656/week @ 2025-04-04 2514/week @ 2025-04-11 2229/week @ 2025-04-18 1961/week @ 2025-04-25 3176/week @ 2025-05-02

10,326 downloads per month
Used in 21 crates (4 directly)

Zlib license

365KB
7K SLoC

C 6.5K SLoC // 0.2% comments Rust 321 SLoC // 0.0% comments

It requires x86-64 CPU with SSE 4.2 or ARM64 with NEON & CRC.


Rust bindings for Zlib with Cloudflare's performance improvements

This crate builds zlib C implementation for 64-bit ARM and Intel CPUs. It requires x86-64 CPU with SSE 4.2 or ARM64 with NEON & CRC. 32-bit architectures are not supported at all.

The API/ABI of the library is the same as original Zlib's.

Dependencies

~0–275KB