Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Majored committed Apr 3, 2024
1 parent 0c7f4bb commit e4ee7a5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "async_zip"
version = "0.0.16"
version = "0.0.17"
edition = "2021"
authors = ["Harry [[email protected]]"]
repository = "https://github.com/Majored/rs-async-zip"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ An asynchronous ZIP archive reading/writing crate.

```toml
[dependencies]
async_zip = { version = "0.0.16", features = ["full"] }
async_zip = { version = "0.0.17", features = ["full"] }
```

A (soon to be) extensive list of [examples](https://github.com/Majored/rs-async-zip/tree/main/examples) can be found under the `/examples` directory.
Expand All @@ -39,11 +39,11 @@ A (soon to be) extensive list of [examples](https://github.com/Majored/rs-async-

### Reading
```rust
use tokio::{io::AsyncReadExt, fs::File};
use tokio::{io::BufReader, fs::File};
use async_zip::tokio::read::seek::ZipFileReader;
...

let mut file = File::open("./Archive.zip").await?;
let mut file = BufReader::new(File::open("./Archive.zip").await?);
let mut zip = ZipFileReader::with_tokio(&mut file).await?;

let mut string = String::new();
Expand Down
2 changes: 1 addition & 1 deletion src/base/read/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! As the central directory of a ZIP archive is stored at the end of it, a non-seekable reader doesn't have access
//! to it. We have to rely on information provided within the local file header which may not be accurate or complete.
//! This results in:
//! - The inability to read internally stored ZIP archives when using the Stored compression method.
//! - The inability to read ZIP entries using the combination of a data descriptor and the Stored compression method.
//! - No file comment being available (defaults to an empty string).
//! - No internal or external file attributes being available (defaults to 0).
//! - The extra field data potentially being inconsistent with what's stored in the central directory.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//!
//! ```toml
//! [dependencies]
//! async_zip = { version = "0.0.16", features = ["full"] }
//! async_zip = { version = "0.0.17", features = ["full"] }
//! ```
//!
//! ### Feature Flags
Expand Down
2 changes: 1 addition & 1 deletion src/tests/spec/date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#[cfg(feature = "chrono")]
use chrono::{TimeZone, Utc};

use crate::{ZipDateTime, ZipDateTimeBuilder};
use crate::ZipDateTimeBuilder;

#[test]
#[cfg(feature = "chrono")]
Expand Down

0 comments on commit e4ee7a5

Please sign in to comment.