sevenz-rust
sevenz-rust copied to clipboard
A 7z decompressor/compressor lib written in pure rust
Rust is giving an error about: ``` unresolved import `sevenz_rust::BlockDecoder` no `BlockDecoder` in the root ``` Where can BlockDecoder be accessed?
Is there any method to set compress level when use compress_to_path function? ``` let now = Instant::now(); sevenz_rust::compress_to_path("test_data", "test_data.7z").expect("compress ok"); println!("compress done : {:?}", now.elapsed()); ```
Hi, I was running the following example: ```rust let outputArchive = format!("{}.aes.7z",inputFolder); let mut sz: SevenZWriter = SevenZWriter::create(outputArchive2).expect("create writer ok"); sz.set_content_methods(vec![ sevenz_rust::AesEncoderOptions::new("sevenz-rust".into()).into(), lzma::LZMA2Options::with_preset(0).into(), ]); sz.push_source_path(inputFolder, |_| true).expect("pack ok"); sz.finish().expect("compress ok");...
Hello, thanks for your great work and constant improvements! Do you have any plans to support self-extracting archives, as 7z can create them for pretty much every platform? Cheers
I have solid archives with block size of 16Mb. And many of the files fail to read because of `ChecksumVerificationFailed`. Example archive: https://up.revertron.com/Memes.7z Example code: ``` pub fn test_blocks() {...
fast-lzma2 is a faster implementation of lzma2, while maintaining compatibility with lzma2. However, the author has only provided an implementation in C/C++. If possible, the author can consider implementing it...
For my use-case, I need to get a stream to a file within the archive, without deferring to a callback. I don't mind this action blocking all other use of...
At the moment, I think the public API also exposes fields and items used only inside this crate (e.g., `SEVEN_Z_SIGNATURE`), so I think it is better to make these to...