#lz4 #decompression #lzf

paku

Collection of decompressors in pure safe Rust

2 releases

0.0.2 Jun 3, 2021
0.0.1 Oct 19, 2020

#423 in Compression


Used in 5 crates (via vfile)

BSD-2-Clause

23KB
493 lines

paku is a collection of decompressors in pure safe Rust

Current state
  1. Collection of decompressors that had to be written because existing ones either didn't exist or had various issues in some specific use cases.
Eventual goals
  1. Pure Rust. No unsafe code.
  2. Support all reasonably modern popular formats for decompression.
  3. No dependency on external decompression code.
  4. Be reasonably fast. Currently unknown.
Distant future goals
  1. Support writing some specific compression format or two. Tbd which one. Most likely zstd.
  2. Provide no_std support.
  3. Optional ARM and x86 asm.
Supported formats
format status notes
lzf fully implemented
lz4 in LZ4Block lz4_jblock implements format compatible with https://github.com/lz4/lz4-java/blob/master/src/java/net/jpountz/lz4/LZ4BlockInputStream.java this format does not seem to be supported by any other libraries, however there are unfortunately compressed files using it around

Dependencies

~120KB