Skip to content



Repository files navigation

Welcome to Rust workshop

It consists into a list of "crates" (packaging name in Rust). Your goal is to make test passes using cargo test. You start with 01-basic, and when you're done, go to 02-... and continue this way until the end ! All code to touch are in /src/ files.

Each crate is documented with few explanations/instructions, so generate all documentation with cargo doc --all and then open it with cargo doc --open !

Before proceeding, you need to install a working environment !

Installing Rust

At the time of writing, the easiest way is to use rustup.

Note: under Windows, you will have to choose between two options. For gnu, you need nothing special ; rustup will automatically install GNU compiler tools. For msvc, you need to install Visual C++ Build Tools 2015 ; click here for more details.

To check your installation, just run cargo run from repository root directory. It should prints

Congrulations !
You have compiled and run your first Rust program

Next, go to '01-basic' and make all tests passes with 'cargo test'

Installing editor

Rust (rls) is currently the recommended extension. It is provided by Rust Developer Tools team (whih also provides Rust Language Server).

There is also Rust but it's not actively developped. In this case, using RLS mode is highly recommanded.

Note: you can also use other IntelliJ-based products. But IntelliJ IDEA has a community version.

IntelliJ Rust is the official plug-ins. Firstly, started as side projects from JetBrains employees. Since summer 2017, it is officially supported by JetBrains.


You can find more supported IDEs at Are we (I)DE yet?.


Quick exercices to learn Rust






No releases published


No packages published


  • Rust 100.0%