#zlib #gzip #deflate #api-bindings

sys libdeflate-sys

Bindings to libdeflate for DEFLATE (de)compression exposed as non-streaming buffer operations. Contains bindings for raw deflate, zlib, and gzip data.

28 releases (13 stable)

new 1.25.2 Feb 8, 2026
1.25.0 Nov 2, 2025
1.24.0 May 12, 2025
1.23.1 Mar 3, 2025
0.5.0 Jun 9, 2020

#346 in Compression

Download history 14506/week @ 2025-10-19 14464/week @ 2025-10-26 13326/week @ 2025-11-02 14085/week @ 2025-11-09 13363/week @ 2025-11-16 17305/week @ 2025-11-23 15163/week @ 2025-11-30 21729/week @ 2025-12-07 20137/week @ 2025-12-14 14586/week @ 2025-12-21 16278/week @ 2025-12-28 18026/week @ 2026-01-04 18725/week @ 2026-01-11 25964/week @ 2026-01-18 20437/week @ 2026-01-25 22987/week @ 2026-02-01

90,245 downloads per month
Used in 122 crates (5 directly)

Apache-2.0

415KB
8K SLoC

C 6.5K SLoC // 0.3% comments Shell 1.5K SLoC // 0.1% comments Rust 224 SLoC // 0.0% comments Python 165 SLoC // 0.3% comments

libdeflate-sys

Raw C bindings to libdeflate.

Used by libdeflater, which exposes safer Rust bindings to the library.

Dependencies