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

libcramjam

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

19 releases (6 breaking)

0.7.0 Jan 13, 2025
0.6.0 Oct 5, 2024
0.5.2 Oct 4, 2024
0.4.2 May 2, 2024
0.1.5 Dec 25, 2023

#263 in Compression

Download history 565/week @ 2025-01-10 430/week @ 2025-01-17 290/week @ 2025-01-24 308/week @ 2025-01-31 580/week @ 2025-02-07 659/week @ 2025-02-14 911/week @ 2025-02-21 748/week @ 2025-02-28 368/week @ 2025-03-07 507/week @ 2025-03-14 276/week @ 2025-03-21 377/week @ 2025-03-28 630/week @ 2025-04-04 834/week @ 2025-04-11 1301/week @ 2025-04-18 469/week @ 2025-04-25

3,288 downloads per month

MIT license

79KB
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

~11–19MB
~411K SLoC