Snappy

Build Status

[ Originally forked from https://github.com/thestinger/rust-snappy ]

Snappy bindings for Rust (as written in the The Official Rust Book.)

Documentation

Usage

Add this to your Cargo.toml:

ini [dependencies] snappy = "0.3"

and this to your crate root:

rust extern crate snappy;

Installing Snappy

The Snappy C++ library can be installed on Mac OS X using homebrew brew install snappy.

If that library is not installed in the usual path, you can export the LD_LIBRARY_PATH and LD_RUN_PATH environment variables before issueing cargo build.