All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- [PR #17] The crate now reflects the
zip
crate features, allowing consumers to configure the required zip features and gain fine-grained control over binary size.
The project follows the active development of the zip
crate and has thus been updated to work with zip2; this release comes with several breaking changes in the write
module.
- Upgrades the
zip
package reference; uses the new zip2 version - Adds
FileOptionExtension
type argument to thezip_create_from_directory_with_options
trait and implementation to address zip2 build issues - Removes the
mut
modifier from theZipWriterExtensions
to fix issues
- [PR #13] Adds support for per-item file options by the
create_from_directory_with_options
method. This introduces a breaking change; instead of passing aFileOptions
directly anFn
must be specified that is called for each file, and must return aFileOptions
value. - Upgraded the zip dependency to version 0.6.6.
- [PR #10] Upgraded the zip dependency to version 0.6.2
- [PR #6] Fixes formatting and linter warnings
- [PR #4] Pass through Zip and IO errors (replaces all instances of
unwrap()
) - [PR #4] Adds tests; extends the
try_is_zip
method so that it can detect different archive formats
- [PR #1] Fixes a bug in the
create_from_directory_with_options
method that could cause files not entirely written to disk; usewrite_all
instead ofwrite
.
- New archive extraction traits
extract
,extract_file
, andextract_file_to_memory
- New entry query traits
entry_path
andfile_number
- New archive writer traits
create_from_directory
andcreate_from_directory_with_options
- Helper function that can perform all operations base on a given archive file path