Development

To build in development just run cargo build.

Building for Release

To build optimized for release run:

cargo build --release --no-default-features

This is thanks to the trick from this stackoverflow post.