crates/zip/README.md
RustFS Zip provides the archive primitives used by the RustFS archive extract flow:
CompressionFormat::from_extension() for extension-based format detection, including tar-family suffixes such as tgz, tbz2, txz, and tzstCompressionFormat::get_decoder() for async stream decoding of gzip, bzip2, zlib, xz, and zstd, plus a pass-through reader for plain tarArchiveLimits with the default entry count, entry size, total unpacked size, and path length guardrailsget_decoder() rejects CompressionFormat::Zip, because ZIP needs central-directory semantics that a forward-only stream cannot provideArchiveLimits carries the values only; enforcement and the resulting protocol error belong to the callerFor comprehensive documentation, examples, and usage guides, please visit the main RustFS repository.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.