Rust‐Setup - TheEvergreenStateCollege/upper-division-cs-23-24 GitHub Wiki

Rust Setup

We will be using GitPod to get a reproducible Rust environment this quarter on school computers.

You will also need a GitHub account. Create one there using your Evergreen email address. You may choose a pseudonym if you'd like your commits while in CS classes separate from other accounts.

For new students to SOS in Spring Quarter, or if you'd like to transition to GitPod from another environment, you can follow our GitPod Setup here.

Rust Language Tools

The following tools are already installed in our GitPod workspace.

Follow the instructions below to install rustup, which is a version manager that will install other tools in the Rust ecosystem, especially the rustc compiler and the cargo project dependency manager.

https://rust-book.cs.brown.edu/ch01-01-installation.html

You will also need to install the rustlings command-line tool to auto-compile and watch your directories.

https://github.com/rust-lang/rustlings

VSCode Plugin

Install the rust-analyzer VSCode plugin on your laptop, or in GitPod's in-browser VSCode, to get type-checking, code completion, and other advanced features for Rust development.

image

Rust Documentation

Rust By Example

https://doc.rust-lang.org/rust-by-example/index.html