archiver-rs 0.1.1

A library for easy interaction with multiple archive formats
Documentation

archiver-rs

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

A library for easy interaction with multiple archive formats

Usage

archiver_rs::bzip2::decode("foo.tar.bz2", "foo.tar");
archiver_rs::gzip::decode("foo.tar.gz", "foo.tar");

archiver_rs::tar::files("foo.tar");
archiver_rs::tar::contains("foo.tar", "bar.txt");
archiver_rs::tar::extract("foo.tar", "./foo/");
archiver_rs::tar::extract_single("foo.tar", "./foo/", "bar.txt");

archiver_rs::zip::files("foo.zip");
archiver_rs::zip::contains("foo.zip", "bar.txt");
archiver_rs::zip::extract("foo.zip", "./foo/");
archiver_rs::zip::extract_single("foo.zip", "./foo/", "bar.txt");

License

The MIT License

More info see LICENSE