https://github.com/spa5k/chronicles
A simple crate to handle extraction of various types of archives through universal API.
https://github.com/spa5k/chronicles
archive crate rust tar zip
Last synced: 8 months ago
JSON representation
A simple crate to handle extraction of various types of archives through universal API.
- Host: GitHub
- URL: https://github.com/spa5k/chronicles
- Owner: spa5k
- License: mit
- Created: 2022-06-13T05:27:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-15T07:04:35.000Z (about 4 years ago)
- Last Synced: 2025-06-16T17:59:51.117Z (about 1 year ago)
- Topics: archive, crate, rust, tar, zip
- Language: Rust
- Homepage: https://crates.io/crates/chronicles
- Size: 34.2 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chronicles - A crate for extracting various types of Archive files.
## Currently supporting the following formats:
- [Zip](https://www.info-zip.org/)
- [Tar](https://www.gnu.org/software/tar/)
- [Gz](https://www.gnu.org/software/gzip/)
## How to use -
```rust
use chronicles::extract;
let file = path::Path::new("someZip.zip");
// Path to extract to
let to = path::Path::new("./extracted");
let res = extract(file, to);
```
## Supported extensions -
- `.zip`
- `.tar.gz`
- `.tar.xz`
## Todo -
- Support conversion between files.
- Support async operations.
- More formats.