#block #bits

flate3

High-performance RFC 1952 compression and de-compression

29 releases (5 stable)

1.0.4 Dec 3, 2023
1.0.3 Nov 20, 2023
0.1.23 Nov 11, 2023
0.1.21 Oct 29, 2021
0.1.3 Jul 31, 2020

#118 in Compression

Download history 16/week @ 2023-08-21 63/week @ 2023-08-28 75/week @ 2023-09-04 34/week @ 2023-09-11 40/week @ 2023-09-18 33/week @ 2023-09-25 38/week @ 2023-10-02 51/week @ 2023-10-09 55/week @ 2023-10-16 66/week @ 2023-10-23 88/week @ 2023-10-30 130/week @ 2023-11-06 225/week @ 2023-11-13 210/week @ 2023-11-20 154/week @ 2023-11-27 66/week @ 2023-12-04

691 downloads per month
Used in 4 crates

MIT/Apache

49KB
1K SLoC

RFC 1951 compression and de-compression.

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

It should compress slightly better than flate2. It uses multiple threads to compress faster.

Example:

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

No runtime deps