Build Tools
Bacon Real-Time Compile
Cargo
Cargo download cache optimization
Cargo Generate git import of templates
Cargo Wizard for compilation optimization
Cargo Project Workspaces
Clippy Linter Tool
Panamax Offline Repo
Rust Tools
External links:
- https://youtu.be/ifaLk5v3W90
- https://youtu.be/kQvMPfR7OwE
- Example of WebAssembly + Rust = https://makepad.dev/
- Rustup toolchain installer - https://rustup.rs/
- Tokei Lines of code count - https://github.com/XAMPPRocky/tokei
- Rustup add-ons needed for formatting and as dependencies:
- Rust-analyzer -
brew install rust-analyzer - Astro Vim for fast IDE, upgrade on NVIM - https://astronvim.github.io
- Neovide GUI upgrade on Astro Vim
- EVCXR or iRUST REPL
VSCode Extensions for Rust
- CodeLLDB
- Dependi (бывш crates) - сообщает, если пакеты устарели
VSCode Settings
(For CodeLLDB) Allow breakpoints everywhere: "debug.allowBreakpointsEverywhere": true
cargo check: поменять check на clippy: "rust-analyzer.check.command": "clippy"
Rust Prelude
Rust has a Prelude - a set of libraries included in every project. See current libs included in Prelude
User input
std::io::stdin library is used to get user input from standard input stream. Not included in Prelude:
.expect handles Err variant of read_line function, crashing the program with the defined error message.