2 releases

Uses new Rust 2024

new 0.0.2 Apr 22, 2025
0.0.1 Apr 22, 2025

#278 in Compression

Apache-2.0

17KB
183 lines

unarchive

Simple crate to unarchive some common archive file formats

use std::path::PathBuf;

use unarchive::{Archive, Error};

#[tokio::main]
pub async fn main() -> Result<(), Error> {
    Archive::from_path("example.tar.gz")?.unarchive("unarchived").await
}

License

This project is licensed under the Apache 2.0 license

Dependencies

~10–21MB
~316K SLoC