You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The limitation of compressing zip archives with other streams only occurs when using multiple formats, like:
archive.zip.gz, or archive.zip.xz.xz.xz.xz.
.zip requires io::Seek, and it can only be provided in fs::File and Vec<u8>, so we can either compress directly to the final file, or load into a Vec, but not pipe to encoding streams.
Loading the whole file to a Vec might exhaust memory capacity, that's why we need to give those warnings in specific cases.
While filing this, I found out the decompression command has another warning with different formatting: