#lha #lzh #unlha

delharc

A library for parsing and extracting files from LHA/LZH archives

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

Download history 14/week @ 2023-07-29 21/week @ 2023-08-05 22/week @ 2023-08-12 26/week @ 2023-08-19 17/week @ 2023-08-26 26/week @ 2023-09-02 22/week @ 2023-09-09 14/week @ 2023-09-16 15/week @ 2023-09-23 21/week @ 2023-09-30 13/week @ 2023-10-07 22/week @ 2023-10-14 21/week @ 2023-10-21 50/week @ 2023-10-28 21/week @ 2023-11-04 29/week @ 2023-11-11

126 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

135KB
3K SLoC

delharc

Crate Docs Build Status Coverage Status Minimum rustc version

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

at your option.

Dependencies

~1.5MB
~24K SLoC