diff --git a/CHANGELOG.md b/CHANGELOG.md index 760b52e..5426bb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,15 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [2.7.0] - 2024-06-02 +## [0.8.0] - 2024-06-02 -The project is going to follow the active development of the `zip` crate and thus has been updated to work witj **zip2**; so this release comes with a bunch of breaking changes. +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. ### Changed - Upgrades the `zip` package reference; uses the new **zip2** version -- Adds `FileOptionExtension` type argument to the `zip_create_from_directory_with_options` trait and implementation to address zip2 build errors -- Removes `mut` modifier from extensions for `ZipWriter` because it no longer implements the `Copy` trait +- Adds `FileOptionExtension` type argument to the `zip_create_from_directory_with_options` trait and implementation to address zip2 build issues +- Removes the `mut` modifier from the `ZipWriterExtensions` to fix issues ## [0.7.0] - 2024-06-01 diff --git a/README.md b/README.md index 55cc3e8..5f6ede1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # zip-extensions-rs ![Rust](https://github.com/matzefriedrich/zip-extensions-rs/workflows/Rust/badge.svg) -[![Build status](https://ci.appveyor.com/api/projects/status/41lavncr30iyv5rk/branch/master?svg=true)](https://ci.appveyor.com/project/matzefriedrich/zip-extensions-rs/branch/master) ![Crates.io](https://img.shields.io/crates/v/zip-extensions) @@ -16,7 +15,7 @@ Add the following dependencies to the `Cargo.toml` file. ````toml [dependencies] zip = "2.1.1" -zip-extensions = "2.7.0" +zip-extensions = "0.8.0" ```` See https://github.com/zip-rs/zip2 fur further information about `zip` dependencies. @@ -72,7 +71,7 @@ use zip_extensions::write::ZipWriterExtensions; ... let file = File::create(archive_file)?; -let mut zip = ZipWriter::new(file); +let zip = ZipWriter::new(file); zip.create_from_directory(&source_path)?; ````