#tar #bzip2 #gzip #zip #xz #format

archiver-rs

A library for easy interaction with multiple archive formats

2 releases

0.5.1 Feb 1, 2021
0.5.0 Jun 17, 2020
0.2.2 Jun 17, 2020
0.1.1 Jun 14, 2020

#606 in Compression

Download history 984/week @ 2024-08-12 816/week @ 2024-08-19 906/week @ 2024-08-26 1676/week @ 2024-09-02 1419/week @ 2024-09-09 1971/week @ 2024-09-16 1991/week @ 2024-09-23 1655/week @ 2024-09-30 1131/week @ 2024-10-07 1348/week @ 2024-10-14 1074/week @ 2024-10-21 1144/week @ 2024-10-28 764/week @ 2024-11-04 1198/week @ 2024-11-11 1551/week @ 2024-11-18 1570/week @ 2024-11-25

5,099 downloads per month
Used in 11 crates (5 directly)

MIT license

15KB
344 lines

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

Dependencies

~0.2–10MB
~110K SLoC