Crates.io | unshield |
lib.rs | unshield |
version | 0.2.0 |
source | src |
created_at | 2020-08-21 00:59:07.412968 |
updated_at | 2020-08-23 20:20:34.964086 |
description | Extract files from InstallShield Z archives. |
homepage | |
repository | https://github.com/agrif/unshield |
max_upload_size | |
id | 278966 |
size | 42,239 |
Extract files from InstallShield Z archives.
This crate can open and extract files from InstallShield Z archives. This archive format is used by version 3 of InstallShield.
This crate comes with a simple command line tool for extracting and inspecting Z archives.
unshield list src/examples/demo.z
unshield extract src/examples/demo.z demo-out
Anything that implements Read
and Seek
can be read as an
archive. Most commonly, this will be a File
.
let mut some_file = std::fs::File::open("src/examples/demo.z")?;
let mut ar = unshield::Archive::new(some_file)?;
let data = ar.load("subdir\\test.txt")?;
for fileinfo in ar.list() {
println!("{}", fileinfo.path);
}
Licensed under the MIT license. Unless stated otherwise, any contributions to this work will also be licensed this way, with no additional terms or conditions.