Source code for Rust FFI book chapter Foreign Function Interface
use the snappy compression/decompression library as an introduction to writing bindings for foreign code. Rust is currently unable to call directly into a C++ library.
# run snappy test cases.
cargo test
# run extlib demo.
cargo run