Crate Documentation

This project is a 7z compressor/decompressor written in pure rust.
And it's very much inspired by the apache commons-compress project.

Decompression

Supported codecs: - [x] COPY - [x] LZMA - [x] LZMA2

Supported filters: - [x] BCJ X86 - [x] BCJ PPC - [x] BCJ IA64 - [x] BCJ ARM - [x] BCJ ARM_THUMB - [x] BCJ SPARC - [x] DELTA

The dependence of lzma-rs was removed sine 0.1.3.
The LZMA/LZMA2 decoder and all filters code was ported from tukaani xz for java

Usage

Decompress source file "data/sample.7z" to dest path "data/sample"

rust sevenz_rust::decompress_file("data/sample.7z", "data/sample").expect("complete");

Compression

The compression feature is under development.

Dependencies