Expand description
This project is a 7z compressor/decompressor written in pure Rust.
This is a fork of the original, unmaintained sevenz-rust crate to continue the development and maintenance.
§Supported Codecs & filters
| Codec | Decompression | Compression |
|---|---|---|
| COPY | ✓ | ✓ |
| LZMA | ✓ | ✓ |
| LZMA2 | ✓ | ✓ |
| BROTLI (*) | ✓ | ✓ |
| BZIP2 (*) | ✓ | ✓ |
| DEFLATE (*) | ✓ | ✓ |
| LZ4 (*) | ✓ | ✓ |
| ZSTD (*) | ✓ | ✓ |
(*) Require optional cargo feature.
| Filter | Decompression | Compression |
|---|---|---|
| BCJ X86 | ✓ | |
| BCJ PPC | ✓ | |
| BCJ IA64 | ✓ | |
| BCJ ARM | ✓ | |
| BCJ ARM_THUMB | ✓ | |
| BCJ SPARC | ✓ | |
| DELTA | ✓ | |
| BCJ2 | ✓ |
Re-exports§
pub use lzma_rust2 as lzma;pub use nt_time;
Structs§
- Archive
- Block
Decoder - Password
- SeqReader
- SevenZ
Archive Entry - SevenZ
Method - SevenZ
Method Configuration - SevenZ
Reader - Reads a 7z file.
- SevenZ
Writer - Writes a 7z file.
- Source
Reader - Stream
Map - SubStreams
Info
Enums§
Functions§
- compress
- Helper function to compress
srcpath todestwriter. - compress_
to_ path - Helper function to compress
srcpath todestpath. - decompress
- Decompresses a source reader to
destpath. - decompress_
file - Decompresses a 7z file.
- decompress_
file_ with_ extract_ fn - decompress_
with_ extract_ fn - default_
entry_ extract_ fn