#lz4 #snappy #gzip #brotli #zstd #deflate #combining

libcramjam

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

18 releases (5 breaking)

0.6.0 Oct 5, 2024
0.5.1 Sep 24, 2024
0.4.2 May 2, 2024
0.3.0 Mar 9, 2024
0.1.5 Dec 25, 2023

#95 in Compression

Download history 550/week @ 2024-06-26 373/week @ 2024-07-03 507/week @ 2024-07-10 444/week @ 2024-07-17 472/week @ 2024-07-24 539/week @ 2024-07-31 475/week @ 2024-08-07 468/week @ 2024-08-14 458/week @ 2024-08-21 620/week @ 2024-08-28 5030/week @ 2024-09-04 1790/week @ 2024-09-11 3942/week @ 2024-09-18 1548/week @ 2024-09-25 2874/week @ 2024-10-02 1228/week @ 2024-10-09

9,747 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
~406K SLoC