No description
Find a file
2026-10-23 10:51:46 +02:00
.vscode initial commit 2026-10-20 08:52:31 +02:00
custom initial commit 2026-10-20 08:52:31 +02:00
.gitignore initial commit 2026-10-20 08:52:31 +02:00
Cargo.toml initial commit 2026-10-20 08:52:31 +02:00
day_1.md initial commit 2026-10-20 08:52:31 +02:00
day_2.md add exercises for day 2 2026-10-22 00:22:31 +02:00
day_3.md add exercises for day 3 2026-10-23 10:51:46 +02:00
README.md initial commit 2026-10-20 08:52:31 +02:00

Rust Exercises

This repository contains the exercises that go along with the Rust for Embedded Developers WBK.

Below, you'll find additional learning resources that you may want to keep in reach while learning Rust. The list is intentionally kept short and opinionated.

Get started with the exercises for day 1.

Learning resources

Practice resources

  • language & syntax basics: rustlings
  • Rust-specific exercises with provided tests: Exercism Setup recommendation: Use the CLI to work locally. You can keep your solutions in this repo by configuring the workspace:
    exercism configure --workspace rust-exercises/exercism
    
    You need to create an account on Exercism, you can use your ZHAW address if you don't want to use your private one.
  • general programming exercises (text-in, text-out): Advent of Code Setup recommendation: Simply run cargo new for each exercise and copy-paste the input data. You can do it right in this repo for convenience, if you like.

Ecosystem Wegweiser

  • List of clippy lints. Clippy has many lints that are allowed by default. You can activate these if you want to impose even higher restrictions on your code. For example, add the following to Cargo.toml to warn against all arithmetic expressions that can overflow:
    [lints.clippy]
    arithmetic_side_effects = "warn"
    
  • community-driven shortlist of high-quality libraries: blessed.rs
  • library documentation: docs.rs
    • handy shortcut: docs.rs/<library-name>
    • example for the axum crate: docs.rs/axum
  • community-driven newsletter: This Week in Rust

Slides

The slides for the workshop are NOT intended as reference material, but you can find them here anyway: https://github.zhaw.ch/pages/rust-wbk/noser