Rust Playround
based on: https://doc.rust-lang.org/book/
Notes
rust-analyzer
can be added by doingrustup component add rust-analyzer
cargo new hello_cargo
generates a new projecthello_cargo
with a hello world in itcargo new --vcs=git my_project
does the same but addes.git
and.gitignore
to your projectcargo check
makes sure the project compiles (like a ts typecheck?)cargo build
makes a debug versin, but if we add the--release
flag, it generates the optimized (prod) version