Inconsistent zip
compression and decompression memory usage warnings
#178
Labels
Milestone
zip
compression and decompression memory usage warnings
#178
The limitation of compressing zip archives with other streams only occurs when using multiple formats, like:
archive.zip.gz
, orarchive.zip.xz.xz.xz.xz
..zip
requiresio::Seek
, and it can only be provided infs::File
andVec<u8>
, so we can either compress directly to the final file, or load into aVec
, 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:These messages formats should be consistent.
The text was updated successfully, but these errors were encountered: