Registry / async / tokio-tar

tokio-tar

JSON →
library0.3.1rscratesunverified

An async TAR file reader and writer for Tokio, abstract over I/O without compression.

# Cargo.toml [dependencies] tokio-tar = "0.3.1"
INSTALL
IMPORT
SIG · TOKIO-TAR
T
tokio-tar
asyncrustv0.3.1
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.

Archive
use tokio_tar::Archive;

Open a TAR archive for reading asynchronously.

use tokio_tar::Archive; use tokio::fs::File; #[tokio::main] async fn main() { let file = File::open("archive.tar").await.unwrap(); let _archive = Archive::new(file); }
Debug
Known issues
gotchaRequires a Tokio runtime.
fix
Use `#[tokio::main]` or manually create a runtime.
affects: >=0.3.0
Upgrade
Version history
0.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Resources
tokio-tar — cargo add tokio-tar · libregistry