A collection of several small recipes containing routes on most common use cases, employing Rocket, a Web Framework developed in Rust programming language.
Setting up a development environment for Rust is simple: it's a matter of installing and running rustup and that's it!. If you are on a Unix-like machine, this is all you need:
#!/bin/bash
curl https://sh.rustup.rs -sSf | sh
Make sure you ran rustup as per instructions above.
Downloading and running these recipes is easy. Just follow the instructions below:
#!/bin/bash
mkdir -p $HOME/workspace
cd $HOME/workspace
git clone http://github.com/frgomes/rust-rocket-recipes
cd rust-rocket-recipes
cargo test