Crate sevenz_rust2

Source
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

CodecDecompressionCompression
COPY
LZMA
LZMA2
BROTLI (*)
BZIP2 (*)
DEFLATE (*)
LZ4 (*)
ZSTD (*)

(*) Require optional cargo feature.

FilterDecompressionCompression
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
BlockDecoder
Password
SeqReader
SevenZArchiveEntry
SevenZMethod
SevenZMethodConfiguration
SevenZReader
Reads a 7z file.
SevenZWriter
Writes a 7z file.
SourceReader
StreamMap
SubStreamsInfo

Enums§

Error
MethodOptions

Functions§

compress
Helper function to compress src path to dest writer.
compress_to_path
Helper function to compress src path to dest path.
decompress
Decompresses a source reader to dest path.
decompress_file
Decompresses a 7z file.
decompress_file_with_extract_fn
decompress_with_extract_fn
default_entry_extract_fn