6 releases

Uses old Rust 2015

0.2.1 Jul 21, 2020
0.2.0 Jul 20, 2020
0.1.2 Nov 3, 2016
0.1.1 Sep 18, 2015
0.0.2 Nov 21, 2014

#239 in Compression

Download history 421/week @ 2023-12-15 612/week @ 2023-12-22 557/week @ 2023-12-29 314/week @ 2024-01-05 698/week @ 2024-01-12 405/week @ 2024-01-19 329/week @ 2024-01-26 361/week @ 2024-02-02 379/week @ 2024-02-09 508/week @ 2024-02-16 321/week @ 2024-02-23 475/week @ 2024-03-01 637/week @ 2024-03-08 399/week @ 2024-03-15 539/week @ 2024-03-22 466/week @ 2024-03-29

2,189 downloads per month
Used in 14 crates (8 directly)

MIT/Apache

7MB
3.5K SLoC

Rust Compresion

Build Status

Documentation

NOTE: This is not a production-quality library, it is a proof of concept. This library mainly contains decoders, not encoders.

This repository aims to house various implementations of compression algorithms, all written in rust. This is still very much a work in progress.

git clone https://github.com/alexcrichton/rust-compress
cd rust-compress
cargo build

Implemented Algorithms

The following algorithms are alredy implemented in the main branch:

  • DEFLATE: standard decoder based on RFC 1951
  • LZ4 (Ziv-Lempel modification): dummy encoder, semi-complete decoder
  • BWT (Burrows-Wheeler Transform): straightforward encoder, standard decoder
  • DC (Distance Coding): basic encoder, standard decoder
  • Ari (Arithmetic coding): standard range encoder/decoder
  • RLE (Run-Length Encoding): basic encoder/decoder

Desired Algorithms

The following algorithms are either planned or in development at this point:

  • WFC (Weight-Frequency Coding)
  • SA/BWT in linear time

Dependencies