#lzo #no-std

no-std lzokay

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

2 stable releases

1.0.1 Aug 26, 2021
1.0.0 Aug 25, 2021

#535 in Compression

MIT license

793 lines

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

Rust wrapper for LZ👌, a minimal, MIT-licensed implementation of the LZO compression format.

See the original README for more information.


  • MIT-licensed
  • Simple compression and decompression routines
  • #![no_std] compatible


See the compress or decompress documentation for reference.

In Cargo.toml:

lzokay = "1.0.1"

Or, to only enable certain features:

version = "1.0.1"
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.


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

No runtime deps

~36K SLoC