Personal Learning Rust Journey
Code written/copied by going through the excellent Rust introduction book: https://doc.rust-lang.org/book/title-page.html.
Learnings
cargo
1 Cargo is your friend
cargo new [PROJECT_NAME]
cargo build
cargo run
cargo run --example [EXAMPLE_NAME]
/examples
2 Example code can be put into /examples
folder nad build via cargo run --example [EXAMPLE_NAME]
.
Cargo.toml
3 Cargo.toml
file is super cool, its where all meta data goes.