Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JoyMoe/archiver-rs
A library for easy interaction with multiple archive formats
https://github.com/JoyMoe/archiver-rs
Last synced: 6 days ago
JSON representation
A library for easy interaction with multiple archive formats
- Host: GitHub
- URL: https://github.com/JoyMoe/archiver-rs
- Owner: JoyMoe
- License: mit
- Created: 2020-06-14T10:13:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-12T19:18:20.000Z (about 1 year ago)
- Last Synced: 2024-04-25T07:44:34.995Z (7 months ago)
- Language: Rust
- Size: 37.1 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# archiver-rs
[![Crates.io](https://img.shields.io/crates/v/archiver-rs)](http://crates.io/crates/archiver-rs)
[![Docs.rs](https://docs.rs/archiver-rs/badge.svg)](https://docs.rs/archiver-rs)
[![Crates.io](https://img.shields.io/crates/d/archiver-rs)](http://crates.io/crates/archiver-rs)
[![Crates.io](https://img.shields.io/crates/l/archiver-rs)](https://github.com/JoyMoe/archiver-rs/blob/master/LICENSE)A library for easy interaction with multiple archive formats
## Usage
```rust
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](LICENSE)