7 releases (4 breaking)
0.5.0 | Jul 13, 2023 |
---|---|
0.4.0 | Oct 4, 2021 |
0.3.0 | Mar 31, 2021 |
0.2.2 | Jul 23, 2020 |
0.1.0 | Jul 5, 2020 |
#120 in Compression
126 downloads per month
Used in 3 crates
(2 directly)
135KB
3K
SLoC
delharc
A Rust library for parsing and extracting content of LHA/LZH archives.
What it does
This library provides ways to parse the content of LHA headers and allows to read files, compressed with some of the methods used by the archive format.
Files using this format usually have .lzh
or .lha
extensions. Some formats, such as the retro chip-tune YM format, use LHA as its default packaging method. The entire content of the Aminet has also been packaged using this format.
What it doesn't do
This library does not provide high level methods for creating files or directories from the extracted archives.
Usage
Add to Cargo.toml
:
[dependencies]
delharc = "0.5"
For more information, please see the Documentation.
Rust Version
delharc
requires Rustc version 1.63 or greater due to the stabilized array::from_fn
function in this version.
License
This project is licensed under either of
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
at your option.
Dependencies
~1.5MB
~24K SLoC