#zip #unzip

rc-zip

An I/O-agnostic implementation of the zip file format

6 releases (stable)

4.0.0 Feb 5, 2024
3.0.0 Feb 2, 2024
2.0.1 Mar 31, 2023
0.0.1 Dec 14, 2019
0.0.0 Jul 9, 2019

#1 in #file-mode

Download history 39/week @ 2023-11-11 33/week @ 2023-11-18 56/week @ 2023-11-25 148/week @ 2023-12-02 66/week @ 2023-12-09 76/week @ 2023-12-16 13/week @ 2023-12-23 6/week @ 2023-12-30 23/week @ 2024-01-06 18/week @ 2024-01-13 18/week @ 2024-01-20 105/week @ 2024-01-27 41/week @ 2024-02-03 79/week @ 2024-02-10 178/week @ 2024-02-17 267/week @ 2024-02-24

589 downloads per month
Used in 6 crates

Apache-2.0 OR MIT

145KB
3K SLoC

rc-zip

This is the core rc-zip crate, containing types, parses, and state machines, and that doesn't do any I/O by itself.

The full README for this crate is the top-level README in this repository.


lib.rs:

rc-zip is a sans-io library for reading zip files.

It's made up of a bunch of types representing the various parts of a zip file, winnow parsers that can turn byte buffers into those types, and state machines that can use those parsers to read zip files from a stream.

This crate is low-level, you may be interested in either of those higher level wrappers:

Dependencies

~6–8MB
~203K SLoC