Rust wrapper for LZ👌, a minimal, MIT-licensed implementation of the LZO compression format.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Luke Street acd77da20e Add deny.toml for cargo-deny 2 years ago
.github/workflows Fix platform check in workflow 2 years ago
lzokay@546a969527 Initial commit 2 years ago
src Release 1.0.1: Fix cargo:rerun-if-changed 2 years ago
.gitattributes Add .gitattributes to force LF for test*.txt on Windows 2 years ago
.gitignore Initial commit 2 years ago
.gitmodules Initial commit 2 years ago
Cargo.toml Release 1.0.1: Fix cargo:rerun-if-changed 2 years ago
LICENSE Initial commit 2 years ago
README.md Release 1.0.1: Fix cargo:rerun-if-changed 2 years ago
build.rs Manually set bindgen sysroot for Android build 2 years ago
deny.toml Add deny.toml for cargo-deny 2 years ago
rustfmt.toml Initial commit 2 years ago
wrapper.hpp Initial commit 2 years ago

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.