This crate includes a pure rust port of lzokay, which is a C++ implementation of the LZO compression format.
The documentation includes some examples.
Add following lines to your Cargo.toml:
# Cargo.toml
[dependencies]
lzokay-native = "0.1"
This feature includes everything for compression.
This feature includes everything for decompression