The first “project” is just getting Rust and Cargo (the Rust package manager) configured correctly on your system.
If you end up getting stuck at one of these steps, no problem. We help in Discord, or in person during the workshop.
Rather than go into detailed instructions here, we’ll just send you over to the official documentation, as they have you installed rustup which is the easiest way to get Rust on your computer:
As you’re going through the installation process for rustup, feel free to select the default options. If you’ve already done this and installed nightly, or are personally adventurous and want to play with unstable language features, you can select the
nightly toolchain instead of the
Rustup is a version manager for the Rust language, itself. It installs:
rustfmt(Rust’s code formatter, similar to
clippy(a useful linter that we will be using)
It also does fancy stuff like let you have different versions of the Rust compiler installed at the same time, which we’ll probably not be talking about 😎
$ rustup component add clippy $ rustup component add rustfmt
Next you’ll want to set up your IDE. IntelliJ Rust and rust-analyzer (with VS Code or something else) are the two most feature complete IDEs.