Crates.io | archiver-rs |
lib.rs | archiver-rs |
version | 0.5.1 |
source | src |
created_at | 2020-06-14 15:52:32.189403 |
updated_at | 2021-02-01 10:24:23.499095 |
description | A library for easy interaction with multiple archive formats |
homepage | https://github.com/JoyMoe/archiver-rs |
repository | https://github.com/JoyMoe/archiver-rs |
max_upload_size | |
id | 253889 |
size | 17,056 |
A library for easy interaction with multiple archive formats
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");
The MIT License
More info see LICENSE