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

#281 in Compression

Download history 622/week @ 2024-12-26 2828/week @ 2025-01-02 2525/week @ 2025-01-09 2699/week @ 2025-01-16 2436/week @ 2025-01-23 3437/week @ 2025-01-30 3313/week @ 2025-02-06 3197/week @ 2025-02-13 3858/week @ 2025-02-20 3509/week @ 2025-02-27 3247/week @ 2025-03-06 2586/week @ 2025-03-13 1770/week @ 2025-03-20 2727/week @ 2025-03-27 2714/week @ 2025-04-03 2425/week @ 2025-04-10

10,016 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