#snappy #deflate #c-api #different #brotli #zstd #bzip2

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

#247 in Compression

Download history 2784/week @ 2024-09-17 2638/week @ 2024-09-24 2906/week @ 2024-10-01 1455/week @ 2024-10-08 1571/week @ 2024-10-15 1122/week @ 2024-10-22 1236/week @ 2024-10-29 1534/week @ 2024-11-05 1108/week @ 2024-11-12 1134/week @ 2024-11-19 1240/week @ 2024-11-26 791/week @ 2024-12-03 2000/week @ 2024-12-10 312/week @ 2024-12-17 457/week @ 2024-12-24 748/week @ 2024-12-31

3,566 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
~409K SLoC