NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #412 most downloaded on crates.io
Library to support the reading and writing of zip files.
Latest stable
9.6.1
Last release today
16 Nov 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
17 versions withdrawn
withdrawn after publishing
12 years old
153 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Add support for NTFS extra field
Change the inner structure of DateTime
DateTime (#267)Your coding agent can read these notes before it upgrades. Set up the MCP server →
rewrite the EOCD/EOCD64 detection to fix extreme performance regression
*(lzma)* fixed panic in case of invalid lzma stream
Expose ZipArchive::central_directory_start
ZipArchive::central_directory_start (#232)(#33) Rare combination of settings could lead to writing a corrupt archive with overlength extra data, and data_start locations when reading the archi
change invalid_state() return type to io::Result
fix(#215): Upgrade to deflate64 0.1.9
deep_copy_file no longer allows overwriting an existing file, to match the behavior of shallow_copy_filemerge_archive, abort_file and deep_copy_file. As well, we now return an error when a file is being copied to itself.Debug for ZipWriter even when it's not implemented for the inner writer's typefinish_into_readable() would corrupt the archive if the central directory had movedvalidate_extra_data() callok_or_abort_file, and inline when that fails borrow checkerok_or_abort_file, and inline when that fails borrow checkerdebug_assert_eq!Some date/time filters were previously unreliable (i.e. later-pass filters had no earliest-pass or latest-fail, and vice-versa)
deserialize for safetylower default version to 4.5 and use the version-needed-to-extract where feasible.
Debug for ZipWriterlower default version to 4.5 and use the version-needed-to-extract where feasible.
Debug for ZipWriterSupport mutual conversion between DateTime and MS-DOS pair
DateTime and MS-DOS pairversion_needed is appliedversion_needed and version_made_by work with recently-merged changesImplement more traits for DateTime
fmt::Display for DateTimeDateTimelast_modified_time to Option<DateTime>from_msdos to from_msdos_unchecked, make it unsafe, and add try_from_msdos (#145)now_utc() as default only when writing, not readingMake deflate enable both default implementations
deflate enable both default implementationsimpl TryInto<NaiveDateTime> for DateTime to impl TryFrom<DateTime> for NaiveDateTime (#136)flate2/zlib-ngEliminate deprecation warning when --all-features implicitly enables the deprecated feature
is_symlink method--all-features implicitly enables the deprecated featureBox<str>, so generify is_dir to accept oneZipFileData::is_dir() methodRemove a window when an extracted directory might be unexpectedly listable and/or cdable by non-owners
cdable by non-ownersFailed to clear "writing_raw" before finishing a symlink, leading to dropped extra fields
Prevent panic when trying to read a file with an unsupported compression method
Stored the default compression method if Deflated isn't available, so that zip files are readable by as much software as possibleimpl Arbitrary for FileOptionsatomic moduleAdd method decompressed_size() so non-recursive ZIP bombs can be detected
decompressed_size() so non-recursive ZIP bombs can be detectedZipWriter::finish() consume the ZipWriter#![allow(unexpected_cfgs)] in nightlyRare bug where find_and_parse would give up prematurely on detecting a false end-of-CDR header
normalized_components slightly sooner when not using itpath_to_string in cases where the path is already in the proper formatbzip2-rs can't replace bzip2 because it's decompress-onlydeprecate deflate-miniz feature since it's now equivalent to deflate
add_directory_from_path and start_file_from_path are no longer deprecated, and they now normalize .. as well as ..
index_for_name, index_for_path, name_for_index: get the index of a file given its path or vice-versa, without
initializing metadata from the local-file header or needing to mutably borrow the ZipArchive.add_symlink_from_path, shallow_copy_file_from_path, deep_copy_file_from_path, raw_copy_file_to_path: copy a
file or create a symlink using AsRef<Path> argumentsadd_directory_from_path and start_file_from_path are no longer deprecated, and they now normalize .. as well as
..deflate-miniz feature since it's now equivalent to deflate (#35)add_directory_from_path and start_file_from_path are no longer deprecated, and they now normalize .. as well as ..
index_for_name, index_for_path, name_for_index: get the index of a file given its path or vice-versa, without
initializing metadata from the local-file header or needing to mutably borrow the ZipArchive.add_symlink_from_path, shallow_copy_file_from_path, deep_copy_file_from_path, raw_copy_file_to_path: copy a
file or create a symlink using AsRef<Path> argumentsadd_directory_from_path and start_file_from_path are no longer deprecated, and they now normalize .. as well as
..Eliminated a custom AtomicU64 type by replacing it with OnceLock in the only place it's used.
AtomicU64 type by replacing it with OnceLock in the only place it's used.FileOptions now has the subtype SimpleFileOptions which implements Copy but has no extra data.Nothing published for this version
Unused flag #![feature(read_buf)] was breaking compatibility with stable compiler.
#![feature(read_buf)] was breaking compatibility with stable compiler.aes dependency to 0.8.2 (https://github.com/zip-rs/zip/pull/354)Added experimental [zip::write::FileOptions::with_deprecated_encryption] API to enable encrypting files with PKWARE encryption.
zip::unstable::write::FileOptions::with_deprecated_encryption] API to enable encrypting files with PKWARE encryption.shallow_copy_file method: copy a file from within the ZipWriterDeprecated `DateTime::from_time` in favor of `DateTime::try_from`
time dependency, and also formatting and macros, as they were enabled by mistake.DateTime::from_time in favor of DateTime::try_fromNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.