# embassy-rs/embassy

Modern embedded framework, using Rust and async.

Repository: https://github.com/embassy-rs/embassy
Canonical: https://ross.abutalabs.com/products/embassy
Homepage: https://embassy.dev
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: async, embedded, executor, rust, hal, drivers
Last push: 2026-08-27T00:03:56+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 2171, "days_push": 7, "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 9739, forks 1631 (observed 2026-08-28T04:10:37.027134+00:00)

## What it is
Embassy is a next-generation embedded framework for Rust that uses async/await for cooperative multitasking on microcontrollers without an RTOS or dynamic allocation. It provides an async executor, hardware abstraction layers for STM32, nRF, RP2040/RP235x, and other chip families, plus batteries-included timekeeping and drivers.

## Use cases
- write async Rust firmware for a microcontroller
- replace an RTOS with a lightweight async executor on embedded hardware
- blink LEDs and handle GPIO interrupts concurrently on an RP2040 or STM32
- build battery-efficient embedded applications without dynamic memory allocation
- develop firmware for nRF52, ESP32, or Raspberry Pi Pico in Rust
- manage hardware timers and timekeeping in no_std embedded code

## When to choose
- you want safe, memory-safe embedded development in Rust with async/await
- you need multitasking on a microcontroller without an RTOS, heap, or per-task stacks
- your target chip is supported by an Embassy HAL (STM32, nRF, RP2040/RP235x, ESP32, etc.)

## When to avoid
- your project is written in C/C++ or another language
- you need hard real-time guarantees with deterministic scheduling that cooperative async cannot provide
- your microcontroller family has no Embassy or compatible HAL available

## Facets
- artifact type: framework
- maturity: active
- function: embedded, concurrency, sdk
- domain: embedded-systems, developer-tools, cross-platform
- platform: embedded, rust, iot
- tags: async, executor, hal, no-std, rtos-alternative, microcontroller, rust

## Member repositories
- embassy-rs/embassy (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:37.027134+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-29T17:21:12.704134+00:00, confidence not recorded.
  - readme: https://github.com/embassy-rs/embassy (fetched 2026-08-28T04:10:37.027134+00:00, sha d76541714b4f)
  - homepage: https://embassy.dev (fetched 2026-08-29T08:20:47.750701+00:00, sha 4ffe8c2efa13)
  - site_page: https://embassy.dev/book (fetched 2026-08-29T08:20:47.753851+00:00, sha adc7eecbac1f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
