These instructions work for Linux and Mac OS X.
For Windows, see the Windows build instructions
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Run cargo build
to build the program
Run cargo build --release
to build a release version