Rust wrapper for LZ👌, a minimal, MIT-licensed implementation of the LZO compression format.
Go to file
Luke Street acd77da20e Add deny.toml for cargo-deny 2021-09-02 23:30:05 -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 Release 1.0.1: Fix cargo:rerun-if-changed 2021-08-25 20:05:28 -04:00
.gitattributes Add .gitattributes to force LF for test*.txt on Windows 2021-08-25 19:12:00 -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 Release 1.0.1: Fix cargo:rerun-if-changed 2021-08-25 20:05:28 -04:00
LICENSE Initial commit 2021-08-25 18:28:57 -04:00
README.md Release 1.0.1: Fix cargo:rerun-if-changed 2021-08-25 20:05:28 -04:00
build.rs Manually set bindgen sysroot for Android build 2021-09-01 19:06:37 -04:00
deny.toml Add deny.toml for cargo-deny 2021-09-02 23:30:05 -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.1"

Or, to only enable certain features:

[dependencies.lzokay]
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.

License

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