Skip to content

Commit

Permalink
Updates the README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
matzefriedrich committed Jun 2, 2024
1 parent 5562ba0 commit 921bfbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<W>` 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
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)


Expand All @@ -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.
Expand Down Expand Up @@ -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)?;
````

Expand Down

0 comments on commit 921bfbd

Please sign in to comment.