#zlib #deflate #gzip #snappy #decompression #brotli #lz4 #zstd #bzip2

libcramjam

Compression library combining a plethora of algorithms in a similar as possible API

20 releases

0.8.0 Jul 26, 2025
0.7.0 Jan 13, 2025
0.6.0 Oct 5, 2024
0.4.2 May 2, 2024
0.1.5 Dec 25, 2023

#360 in Compression

Download history 565/week @ 2026-02-19 785/week @ 2026-02-26 834/week @ 2026-03-05 712/week @ 2026-03-12 506/week @ 2026-03-19 560/week @ 2026-03-26 419/week @ 2026-04-02 3647/week @ 2026-04-09 469/week @ 2026-04-16 424/week @ 2026-04-23 402/week @ 2026-04-30 1129/week @ 2026-05-07 767/week @ 2026-05-14 362/week @ 2026-05-21 448/week @ 2026-05-28 483/week @ 2026-06-04

2,248 downloads per month

MIT license

80KB
2K SLoC

cramjam library

A Rust library combining different compression algorithms/libraries in a common (as possible) API.

CI Latest version Documentation License


Features

(dynamic/static build features available on some variants, check Cargo.toml):

  • snappy
  • lz4
  • bzip2
  • brotli
  • zstd
  • zlib
  • xz
  • gzip
  • deflate
  • blosc2
  • igzip (GZIP using ISA-L backend)
  • ideflate (DEFLATE using ISA-L backend)
  • izlib (ZLIB using ISA-L backend)
  • capi: Build a C-ABI library. Compatible with cargo-c

Pre-compiled libraries available on Anaconda-Server Badge

Dependencies

~14MB
~390K SLoC