amiga-lzx-cli-0.1.1 is not a library.
Amiga LZX in Rust
LLM assisted clean-ish-room implementation of Amiga LZX.
Made by decompiling the compressor with Ghidra, writing spec documents for it and using unlzx.c to document the decompressor, then hiding the sources and re-implementing from the spec.
Install
From crates.io:
This installs a binary called lzx (the historic Amiga tool name).
Pre-built binaries for Linux (x86_64 / aarch64), macOS (universal),
and Windows are also attached to each GitHub release.
Usage
# Create an archive from files and/or directories (walked recursively).
# List entries in an archive.
# Extract everything into ./out (or any directory).
# Verify an archive without writing files.
Compression level: -1 quick, -2 normal (default), -3 maximum —
matching the original Amiga lzx tool.
File modification times are preserved on both create and extract.
Library
[]
= "0.1"
use ;
use ;
let mut buf = new;
let mut ar = new?;
let mut entry = ar.add_entry?;
entry.write_all?;
entry.finish?;
ar.finish?;
let mut reader = new?;
while let Some = reader.next_entry?
# Ok::
Links
License
WTFPL with warranty clause: don't blame me.