Deprecated
zip-extract was born out of frustration with the zip crate's tedious extraction methods.
Things have changed:
ZipArchive::extract
and
ZipArchive::extract_unwrapped_root_dir
provide the same functionality as zip-extract, without a wrapper crate. Please use them instead.
zip-extract
zip-extract's primary goal is simple: Automate tedious zip extraction. Ever wanted to just unpack an archive somewhere? Well, here you go.
Usage
let archive: = download_my_archive?;
let target_dir = from; // Doesn't need to exist
// The third parameter allows you to strip away toplevel directories.
// If `archive` contained a single directory, its contents would be extracted instead.
extract?;
Features
All features passed through to zip2.