# rust-lang/rustlings

:crab: Small exercises to get you used to reading and writing Rust code!

Repository: https://github.com/rust-lang/rustlings
Canonical: https://ross.abutalabs.com/products/rustlings
Homepage: https://rustlings.rust-lang.org
Language: Rust
License: MIT
License Family: permissive
Topics: rust, rustlings, beginner-friendly, exercises
Last push: 2026-08-24T21:17:41+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 12, longevity 100
- inputs: {"age_days": 4006, "days_push": 9, "days_rel": 377, "gap_med": 283, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 63959, forks 11249 (observed 2026-08-28T04:12:19.181360+00:00)

## What it is
Rustlings is a collection of small, interactive exercises for learning to read and write Rust code, typically used alongside the official Rust book. It is installed via cargo and guides learners through progressively fixing and completing Rust programs.

## Use cases
- learn rust from scratch
- practice reading and writing rust code
- supplement the rust book with hands-on exercises
- get familiar with rust compiler error messages
- self-paced rust tutorial for beginners
- prepare for writing real rust projects

## When to choose
- you are a beginner learning Rust and want guided, hands-on exercises
- you are reading the Rust book and want parallel practice
- you want to learn by fixing compiler errors

## When to avoid
- you are already proficient in Rust and need advanced material
- you want a full tutorial course with lectures rather than exercises
- you need a production codebase or library

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools
- domain: programming-languages, tutorials, education
- platform: windows, cli, rust
- tags: rust, exercises, beginner-friendly, self-paced-learning, compiler-driven-learning, linux, macos

## Member repositories
- rust-lang/rustlings (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:19.181360+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:17:26.240310+00:00, confidence not recorded.
  - readme: https://github.com/rust-lang/rustlings (fetched 2026-08-28T04:12:19.181360+00:00, sha e9e13f42755f)
  - homepage: https://rustlings.rust-lang.org (fetched 2026-08-28T17:55:59.484754+00:00, sha 6e464031f840)
  - registry_crates: https://crates.io/api/v1/crates/rustlings (fetched 2026-08-28T17:55:59.493165+00:00, sha 7ea0bea40cb6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
