The first “project” is just getting Rust and Cargo (the Rust package manager) configured correctly on your system.

Goals

If you end up getting stuck at one of these steps, no problem. We help in Discord, or in person during the workshop.

Installing Rust

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:

Install Rust

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 stable toolchain.

What did I just install?

Rustup is a version manager for the Rust language, itself. It installs:

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 😎

Installing more components

$ rustup component add clippy
$ rustup component add rustfmt

Recommended editor configurations

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.

JetBrains