Closed 1739616529 closed 11 months ago
As the error message said, multi input/output stream coders are not yet supported. There are certain features in 7z this lib doesn't support,and "multi stream coders" is one of them. I'll leave this issue open as an enhancement request
+1 for implementing this feature
@bonigarcia @1739616529
The latest commit of the main branch added support for bcj2, which contains multiple input streams. You can try to unzip the file that failed before
Yes, it works! Excellent job, @dyz1990!
The performance is not the best, but I managed to uncompress the 7z file I'm working on. For the record, that file was 55.7 MB, and the time required to uncompress it (using cargo) was 2 minutes and 13 seconds (in an AMD Ryzen 7 with 8 cores and 16 GB RAM).
For the record, that file was 55.7 MB, and the time required to uncompress it (using cargo) was 2 minutes and 13 seconds (in an AMD Ryzen 7 with 8 cores and 16 GB RAM).
That's toooo slow. Did you run you code in release mode?
I have much better results when using sevenz_rust::decompress
and a reader (around 30 seconds for a 55MB 7z file) instead of sevenz_rust::decompress_file
. I think that's ok.
Can you please release a new crate version with this feature? Thank you!
@bonigarcia OK
system: windows 10 x64 ltsc 21H2 19044.3208 rust-version:
code:
log: