#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

#239 in Compression

Download history 7/week @ 2026-01-29 18/week @ 2026-02-05 25/week @ 2026-02-12 5/week @ 2026-02-26 36/week @ 2026-03-05 47/week @ 2026-03-12 1/week @ 2026-03-19 20/week @ 2026-04-02 2/week @ 2026-04-09 27/week @ 2026-04-16 15/week @ 2026-04-23 50/week @ 2026-04-30 17/week @ 2026-05-07

109 downloads per month
Used in 8 crates (6 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

~0.6–1.1MB
~18K SLoC