Add this to your Cargo.toml:
Cargo.toml
[dependencies] contrail = "0.0.2"
See the docs for example usage.