Rust wrapper for LZ👌, a minimal, MIT-licensed implementation of the LZO compression format.
Go to file
Luke Street 0a7f63db04 Fix platform check in workflow 2021-08-25 18:59:53 -04:00
.github/workflows Fix platform check in workflow 2021-08-25 18:59:53 -04:00
lzokay@546a969527 Initial commit 2021-08-25 18:28:57 -04:00
src Attempted fix for Windows/macOS build 2021-08-25 18:56:21 -04:00
.gitignore Initial commit 2021-08-25 18:28:57 -04:00
.gitmodules Initial commit 2021-08-25 18:28:57 -04:00
Cargo.toml Initial commit 2021-08-25 18:28:57 -04:00
LICENSE Initial commit 2021-08-25 18:28:57 -04:00
README.md Initial commit 2021-08-25 18:28:57 -04:00
build.rs Attempted fix for Windows/macOS build 2021-08-25 18:56:21 -04:00
rustfmt.toml Initial commit 2021-08-25 18:28:57 -04:00
wrapper.hpp Initial commit 2021-08-25 18:28:57 -04:00

README.md

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.

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 = "1.0.0"

Or, to only enable certain features:

[dependencies.lzokay]
version = "1.0.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.