Notes of the Rust programming language.
cargo new [PROJECT_NAME]
After modified some .rs files in src
directory, we can build our application
with the following command:
cargo build
By default, the build in done in debug mode, to compile the code with all optimization use instead:
cargo build --release
cargo run