archiver-rs

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

A library for easy interaction with multiple archive formats

Usage

```rust archiverrs::bzip2::decode("foo.tar.bz2", "foo.tar"); archiverrs::gzip::decode("foo.tar.gz", "foo.tar");

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

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

License

The MIT License

More info see LICENSE