libchm
Tiny Rust wrapper around libchm for reading CHM archives with safe-ish helpers.
Status
- Minimal API: open a file, enumerate entries, read a file, and inspect
ChmUnitInfo. - Bundles and builds upstream
chmlibduringbuild.rs(downloadschmlib-0.40fromjedrea.com). - Tested only on Windows and Linux x64, treat as experimental.
Installation
Usage
use ;
Building
- Requires a C toolchain.
- Build script downloads and compiles
chmlib-0.40automatically (no system install needed). - No network? Pre-download the tarball and point Cargo to a cached source via
CARGO_NET_OFFLINEor a mirror.
License
MIT for this crate. Upstream chmlib is LGPL-2.0-or-later; ensure compatibility for your use case.