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

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

#210 in Compression

Download history 1766/week @ 2024-10-11 1165/week @ 2024-10-18 1021/week @ 2024-10-25 1584/week @ 2024-11-01 1237/week @ 2024-11-08 1145/week @ 2024-11-15 1133/week @ 2024-11-22 1184/week @ 2024-11-29 2059/week @ 2024-12-06 456/week @ 2024-12-13 194/week @ 2024-12-20 696/week @ 2024-12-27 659/week @ 2025-01-03 565/week @ 2025-01-10 430/week @ 2025-01-17 247/week @ 2025-01-24

2,039 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