Cargo-ify

Fixes #3.