deep-unpack 0.1.2

Unpack deep archive files recursively over a file tree or a folder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::path::Path;

fn main() {
    let extract_file = Path::new("tests").join("mocks").join("jar");
    let destination_folder = Path::new("tmp").join("extract").join("jar");

    let result = deep_unpack::DeepWalk::new()
        .folder(format!("{}", extract_file.display()))
        .unpack_folder(format!("{}", destination_folder.display()))
        .extract()
        .unwrap();

    println!("{:#?}", result);
}