archiver-rs

Crates.ioarchiver-rs
lib.rsarchiver-rs
version0.5.1
sourcesrc
created_at2020-06-14 15:52:32.189403
updated_at2021-02-01 10:24:23.499095
descriptionA library for easy interaction with multiple archive formats
homepagehttps://github.com/JoyMoe/archiver-rs
repositoryhttps://github.com/JoyMoe/archiver-rs
max_upload_size
id253889
size17,056
Chino Chang (kinosang)

documentation

https://docs.rs/archiver-rs

README

archiver-rs

Crates.io Docs.rs Crates.io Crates.io

A library for easy interaction with multiple archive formats

Usage

let mut bz = archiver_rs::Bzip2::open("foo.tar.bz2");
bz.decompress("foo.tar");

let mut tar = archiver_rs::Tar::open("foo.tar");
tar.files();
tar.contains("bar.txt");
tar.extract("./foo/");
tar.extract_single("./foo/bar.txt", "bar.txt");

License

The MIT License

More info see LICENSE

Commit count: 17

cargo fmt