#snappy #gzip #deflate #lz4 #api #different #brotli

libcramjam

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

19 releases (6 breaking)

new 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

#121 in Compression

Download history 1548/week @ 2024-09-25 2874/week @ 2024-10-02 1428/week @ 2024-10-09 1585/week @ 2024-10-16 1093/week @ 2024-10-23 1516/week @ 2024-10-30 1291/week @ 2024-11-06 1112/week @ 2024-11-13 1101/week @ 2024-11-20 1244/week @ 2024-11-27 745/week @ 2024-12-04 1948/week @ 2024-12-11 274/week @ 2024-12-18 438/week @ 2024-12-25 829/week @ 2025-01-01 581/week @ 2025-01-08

2,185 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
~408K SLoC