Skip to content

Commit e4ee7a5

Browse files
committed
Bump version
1 parent 0c7f4bb commit e4ee7a5

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "async_zip"
3-
version = "0.0.16"
3+
version = "0.0.17"
44
edition = "2021"
55
authors = ["Harry [hello@majored.pw]"]
66
repository = "https://github.com/Majored/rs-async-zip"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ An asynchronous ZIP archive reading/writing crate.
2020

2121
```toml
2222
[dependencies]
23-
async_zip = { version = "0.0.16", features = ["full"] }
23+
async_zip = { version = "0.0.17", features = ["full"] }
2424
```
2525

2626
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.
@@ -39,11 +39,11 @@ A (soon to be) extensive list of [examples](https://github.com/Majored/rs-async-
3939

4040
### Reading
4141
```rust
42-
use tokio::{io::AsyncReadExt, fs::File};
42+
use tokio::{io::BufReader, fs::File};
4343
use async_zip::tokio::read::seek::ZipFileReader;
4444
...
4545

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

4949
let mut string = String::new();

src/base/read/stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//! As the central directory of a ZIP archive is stored at the end of it, a non-seekable reader doesn't have access
1919
//! to it. We have to rely on information provided within the local file header which may not be accurate or complete.
2020
//! This results in:
21-
//! - The inability to read internally stored ZIP archives when using the Stored compression method.
21+
//! - The inability to read ZIP entries using the combination of a data descriptor and the Stored compression method.
2222
//! - No file comment being available (defaults to an empty string).
2323
//! - No internal or external file attributes being available (defaults to 0).
2424
//! - The extra field data potentially being inconsistent with what's stored in the central directory.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
//!
2020
//! ```toml
2121
//! [dependencies]
22-
//! async_zip = { version = "0.0.16", features = ["full"] }
22+
//! async_zip = { version = "0.0.17", features = ["full"] }
2323
//! ```
2424
//!
2525
//! ### Feature Flags

src/tests/spec/date.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#[cfg(feature = "chrono")]
55
use chrono::{TimeZone, Utc};
66

7-
use crate::{ZipDateTime, ZipDateTimeBuilder};
7+
use crate::ZipDateTimeBuilder;
88

99
#[test]
1010
#[cfg(feature = "chrono")]

0 commit comments

Comments
 (0)