zip 9.0.2

Library to support the reading and writing of zip files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod huffman;

/// Upper bound on the speculative pre-allocation made from an entry's declared
/// uncompressed size. That size comes from the archive, so it is not a fact:
/// reserving it outright panics with "capacity overflow" past `isize::MAX` and
/// aborts on allocation failure below it. Entries larger than this still decode
/// in full; the buffer just grows geometrically past the cap instead of in one step.
pub(crate) const MAX_PREALLOC: usize = 1 << 20;

pub(crate) mod implode;
pub(crate) mod reduce;
pub(crate) mod shrink;