Crates.io | ripunzip |
lib.rs | ripunzip |
version | 2.0.0 |
source | src |
created_at | 2022-11-22 16:56:45.264936 |
updated_at | 2024-09-30 08:03:58.76548 |
description | A tool to unzip an archive in parallel |
homepage | |
repository | https://github.com/google/ripunzip |
max_upload_size | |
id | 720994 |
size | 180,815 |
A tool to unzip files in parallel.
This is a Rust library (and command-line tool) which utilises the power of Rust's rayon
library to unzip a zip file in parallel. If you're fetching the zip file from a URI, it
may also be able to start unzipping in parallel with the download.
To fetch the command-line tool: cargo install ripunzip
then ripunzip -h
. Alternatively,
a .deb
file is available under the "releases" section on github.
To add the library to your project: cargo add ripunzip
and check out the documentation
linked above.
Pull requests are welcome - see the contributing doc. The focus
of this project remains efficiently unzipping entire zip files, and any speed increases
are greatly appreciated! cargo criterion
is used for performance testing, though the
benchmark suite doesn't do a great job of simulating real conditions. In particular please
be aware that this tool is often used on devices with spinny hard disks and very limited
disk write bandwidth, so in different circumstances that may be the limiting circumstance,
or network bandwidth, or CPU time. Please consider the impact of your changes on all these
permutations.
Release procedure:
cargo publish
.deb
file from the latest CI job.deb
file as an artifact.There's also cargo fuzz
support for comparitive fuzzing against non-parallel unzipping
to try to spot any unforeseen circumstances where we do anything differently. If you
change the core unzipping logic please use this.
This is not an officially supported Google product.
LicenseThis software is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE for details.