lzokay

Crates.iolzokay
lib.rslzokay
version1.0.1
sourcesrc
created_at2021-08-25 23:16:57.760959
updated_at2021-08-26 00:06:11.950517
descriptionA minimal, MIT-licensed implementation of the LZO compression format.
homepage
repositoryhttps://github.com/encounter/lzokay-rs
max_upload_size
id442391
size59,967
Luke Street (encounter)

documentation

https://docs.rs/lzokay

README

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.

Commit count: 9

cargo fmt