#rfc #thread #de-compression #1952

flate3

High-performance RFC 1952 compression and de-compression

30 releases (6 stable)

1.1.0 Mar 1, 2024
1.0.4 Dec 3, 2023
1.0.3 Nov 20, 2023
0.1.23 Nov 11, 2023
0.1.3 Jul 31, 2020

#135 in Compression

Download history 4/week @ 2024-07-08 9/week @ 2024-07-15 9/week @ 2024-07-22 34/week @ 2024-07-29 7/week @ 2024-08-05 20/week @ 2024-08-26 13/week @ 2024-09-09 8/week @ 2024-09-16 120/week @ 2024-09-23 14/week @ 2024-09-30 4/week @ 2024-10-07 10/week @ 2024-10-14

149 downloads per month
Used in 4 crates

MIT/Apache

50KB
1.5K 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