#lha #lzh #unlha

delharc

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

6 releases (3 breaking)

0.4.0 Oct 4, 2021
0.3.0 Mar 31, 2021
0.2.2 Jul 23, 2020
0.1.0 Jul 5, 2020

#48 in Compression

Download history 6/week @ 2021-07-04 5/week @ 2021-07-11 14/week @ 2021-07-18 9/week @ 2021-07-25 15/week @ 2021-08-01 5/week @ 2021-08-08 8/week @ 2021-08-15 5/week @ 2021-08-22 13/week @ 2021-08-29 12/week @ 2021-09-05 5/week @ 2021-09-12 20/week @ 2021-09-19 25/week @ 2021-09-26 51/week @ 2021-10-03 11/week @ 2021-10-10 17/week @ 2021-10-17

52 downloads per month
Used in 2 crates (via vtx)

MIT license

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.4"

For more information, please see the Documentation.

Rust Version

delharc requires Rustc version 1.46 or greater due to the newly allowed const fn expressions in this version.

Dependencies

~1MB
~16K SLoC

L[a