mirror of
https://github.com/encounter/lzokay-rs.git
synced 2025-12-14 07:36:11 +00:00
fe436d4386d1235ab842fcf941488b4c025dc584
Co-authored-by: Luke Street <luke@street.dev>
LZ👌-rs

Pure-Rust port of LZ👌, a minimal, MIT-licensed implementation of the LZO compression format.
See the original README for more information.
Features
- MIT-licensed
- Simple compression and decompression routines
#![no_std]compatible
Usage
See the compress or decompress documentation for reference.
In Cargo.toml:
[dependencies]
lzokay = "2.0"
Or, to only enable certain features:
[dependencies.lzokay]
version = "2.0"
default-features = false
features = ["decompress", "compress"]
decompress: Enables decompression functions.compress: Enables compression functions.alloc: Enables optional compression functions that perform heap allocation. Withoutstd, this usesextern crate alloc.std: Enables use ofstd. Impliesalloc.
All features are enabled by default.
License
LZ👌 and LZ👌-rs are available under the MIT License and have no external dependencies.
Languages
Rust
94.1%
Python
5.9%