curl <https://sh.rustup.rs> -sSf | sh
source ~/.cargo/env

Compile with:

rustc [1main.rs](<http://1main.rs/>)
./1main

Or run with:

cargo run