$ zip

v8.5.0

Library to support the reading and writing of zip files.

Downloads: 156.2M
Recent: 36.8M
Versions: 126
Updated: April 1, 2026

Latest Update Summary

Crate

Name: zip New version: 8.0.0 Release date: 2026-02-15T00:02:47.678264Z

Crate readme

Short description A zip library for rust which supports reading and writing of simple ZIP files.

Long description The zip crate allows reading and writing of ZIP files in Rust, supporting various compression formats including deflate, bzip2, and zstd. The minimum supported Rust version is 1.88. It includes features for AES encryption and multiple compression methods.

Features • aes-crypto • deflate • deflate-flate2 • deflate-zopfli • deflate64 • lzma • bzip2 • ppmd • chrono • zstd

Code Examples Fuzzing zip extraction

 cargo afl fuzz -i tests/data -e zip -o fuzz-read-out fuzz/target/debug/fuzz_read

Fuzzing zip creation

 cargo afl fuzz -x fuzz/write/fuzz.dict -i fuzz/write/in -o fuzz-write-out fuzz/target/debug/fuzz_write

Run with input over stdin

 cargo run --manifest-path=fuzz/Cargo.toml --quiet --all-features -p fuzz_read <tests/data/deflate64.zip

Linkshttps://github.com/zip-rs/zip2https://crates.io/crates/ziphttps://docs.rs/zip/latest/zip/

https://api.github.com/repos/zip-rs/zip2/releases/286454876

Release info

Release version:

Release description

Code Examples

Minor update: 8.4.0 → 8.5.0

$ DOWNLOADS TREND

100.2M156.2M

$ VERSION HISTORY

v8.5.0April 1, 2026
v8.4.0March 23, 2026
v8.3.1March 21, 2026
v8.3.0March 19, 2026
v8.2.0March 3, 2026
v8.1.0February 16, 2026
v8.0.0February 15, 2026
v7.4.0February 6, 2026
v7.3.0February 4, 2026
v7.2.0January 27, 2026
v7.2.0January 20, 2026
v7.1.0January 14, 2026
v7.0.0December 19, 2025
v6.0.0October 9, 2025

$ LINKS

$ INSTALL

cargo add zip

Or add to Cargo.toml: zip = "8.5.0"