#high-performance #rfc

flate3

High-performance RFC 1951 compression and de-compression

9 releases

new 0.1.8 Aug 6, 2020
0.1.7 Aug 5, 2020
0.1.3 Jul 31, 2020

#125 in Compression

35 downloads per month

MIT/Apache

44KB
1K SLoC


lib.rs:

RFC 1951 compression and de-compression.

flate3 is intended to be a high-performance alternative to the flate2 crate.

It uses multiple threads to compress faster.

Example:

let mut comp = flate3::Compressor::new();
let data = [ 1,2,3,4,1,2,3 ];
let cb : Vec<u8> = comp.deflate( &data );
println!( "compressed size={}", cb.len() );
let uc : Vec<u8> = flate3::inflate( &cb );
println!( "de-compressed size={}", uc.len() );

Dependencies

~310KB