- This Podcast: Software Engineering Radio Episode 490: Tim McNamara on Rust 2021 Edition
- I learnt from https://doc.rust-lang.org/book/title-page.html
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
export PATH="$HOME/.cargo/bin:$PATH"
- ahead-of-time compiled language
- Cargo is Rust’s build system and package manager
- building your code, downloading the libraries your code depends on, and building those libraries
- packages of code (libraries/dependencies) are referred to as crates
rustc hello_world.rs
compiles rust coderustfmt hello_world.rs
format rust code
Creating a project with cargo
cargo new hello_cargo --bin
cd hello_cargo
cargo build
cargo run
cargo check
cargo build --release
cargo update
fetch the latest SegVer and note down in cargo.lockcargo doc --open
build doc for ur crates