Registry / utility / async-zip

async-zip

JSON →
library0.0.18rscratesunverified

An asynchronous ZIP archive reading/writing crate.

# Cargo.toml [dependencies] async_zip = "0.0.18"
INSTALL
IMPORT
SIG · ASYNC-ZIP
A
async-zip
utilityrustv0.0.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ZipFileReader
use async_zip::ZipFileReader;

Read a ZIP file asynchronously.

use async_zip::ZipFileReader; #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let file = tokio::fs::File::open("archive.zip").await?; let reader = ZipFileReader::new(file); println!("Opened ZIP archive"); Ok(()) }
Debug
Known issues
gotchaRequires an async runtime (e.g., Tokio) and the `tokio` feature.
fix
Add `tokio` as a dependency and enable the `tokio` feature for async-zip.
affects: >=0.0.1
Upgrade
Version history
0.0.18latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
2
Resources
async-zip — cargo add async-zip · libregistry