# rust-embedded/book

Documentation on how to use the Rust Programming Language to develop firmware for bare metal (microcontroller) devices

Repository: https://github.com/rust-embedded/book
Canonical: https://ross.abutalabs.com/products/rust-embedded-book
Homepage: https://docs.rust-embedded.org/book/
License: Apache-2.0
License Family: permissive
Last push: 2026-04-11T08:47:33+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 76, release rhythm 35, longevity 100
- inputs: {"age_days": 2946, "days_push": 144, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1337, forks 220 (observed 2026-08-28T04:04:25.617063+00:00)

## What it is
The Embedded Rust Book is official documentation teaching how to use Rust to develop firmware for bare-metal microcontroller devices, with examples focused on ARM Cortex-M. It covers setting up a development environment, best practices, and recipes like mixing C and Rust.

## Use cases
- learn embedded rust programming
- set up a rust development environment for microcontrollers
- write firmware for bare metal devices in rust
- find best practices for embedded rust development
- learn how to mix C and rust in an embedded project
- get started with ARM Cortex-M development in rust

## When to choose
- you want to learn or teach embedded Rust development
- you need current best practices for writing firmware in Rust
- you are targeting ARM Cortex-M microcontrollers
- you want a free, continuously updated reference

## When to avoid
- you need documentation for a specific microcontroller vendor's SDK
- you are not using Rust for embedded development
- you need a runnable tool or library rather than a book

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, embedded
- domain: embedded-systems, tutorials, developer-tools
- platform: embedded, cross-platform, rust
- tags: rust, firmware, microcontroller, bare-metal, cortex-m, book, embedded-programming

## Member repositories
- rust-embedded/book (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:25.617063+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-30T04:44:04.666338+00:00, confidence not recorded.
  - readme: https://github.com/rust-embedded/book (fetched 2026-08-28T04:04:25.617063+00:00, sha 1fb6453a8e07)
  - homepage: https://docs.rust-embedded.org/book/ (fetched 2026-08-29T12:03:45.375663+00:00, sha 5c523c1b2b60)
- Data as of 2026-08-30T08:39:29.467469+00:00.
