← All courses

Rustlings

The official Rustlings curriculum (https://github.com/rust-lang/rustlings) — small interactive exercises that walk through Rust's syntax, ownership model, error handling, traits, and more. Mirrored into Libre with each exercise's starter, solution, and hint preserved verbatim from the upstream repo.

  • Rust
  • 94 lessons
  • ~19 hours
  • Free

Learn Rust for free on Libre Academy with the Rustlings course: 94 interactive lessons you complete by writing real code in a built-in editor, graded instantly by hidden tests. No paywall, no sign-up — it runs in your browser and the free desktop app.

What you get

  • Hands-on lessons with a real editor and instant, test-graded feedback.
  • Free and open source — no account required to start.
  • Runs in your browser, and offline in the free desktop app.
  • Rust runs via a hosted playground.

What's inside

  • Intro
  • Variables
  • Functions
  • If
  • Quiz 1
  • Primitive Types
  • Vecs
  • Move Semantics
  • Structs
  • Enums
  • Strings
  • Modules
  • Hashmaps
  • Quiz 2
  • Options
  • Error Handling
  • Generics
  • Traits
  • Quiz 3
  • Lifetimes
  • Tests
  • Iterators
  • Smart Pointers
  • Threads
  • Macros
  • Clippy
  • Conversions

Start Rustlings free →   More free Rust courses