#lzo #no-std #api-bindings

no-std lzokay

A minimal, MIT-licensed implementation of the LZO compression format

5 stable releases

2.0.1 Oct 16, 2025
2.0.0 Oct 15, 2025
1.0.2 Oct 15, 2025
1.0.1 Aug 26, 2021
1.0.0 Aug 25, 2021

#118 in Compression

Download history 15/week @ 2026-04-15 26/week @ 2026-04-22 50/week @ 2026-04-29 17/week @ 2026-05-06 61/week @ 2026-05-13 36/week @ 2026-05-20 47/week @ 2026-05-27 90/week @ 2026-06-03 387/week @ 2026-06-10 657/week @ 2026-06-17 357/week @ 2026-06-24 790/week @ 2026-07-01 1235/week @ 2026-07-08 848/week @ 2026-07-15 1183/week @ 2026-07-22 541/week @ 2026-07-29

3,912 downloads per month
Used in 11 crates (8 directly)

MIT license

41KB
763 lines

LZ👌-rs Build Status Latest Version Api Rustdoc Rust Version

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. Without std, this uses extern crate alloc.
  • std: Enables use of std. Implies alloc.

All features are enabled by default.

License

LZ👌 and LZ👌-rs are available under the MIT License and have no external dependencies.

Dependencies

~1.2–1.8MB
~36K SLoC