Skip to content
@esp-rs

esp-rs

Libraries, crates and examples for using Rust on Espressif SoC's

Rust on Espressif microcontrollers

This organization is home to several projects enabling the use of the Rust programming language on various SoCs and modules produced by Espressif Systems.

If you are just getting started writing Rust for ESP devices, please first read The Rust on ESP book.

For a curated list of resources for development including tools and projects, see Awesome ESP Rust.

Hardware Abstraction Layer

We offer two choices for Hardware Abstraction Layers:

Repository Description Support status
esp-rs/esp-hal Without support for the Rust standard library (no_std) Support status
esp-rs/esp-idf-hal With support for the Rust standard library (std) Support status

Build Tools

This organization contains a fork of the Rust compiler with added support for the Xtensa ISA. Pre-built binaries for said compiler fork are additionally provided for most common operating systems and architectures.

Repository Description
esp-rs/rust Rust compiler fork with Xtensa support
esp-rs/rust-build Pre-built binaries of the Rust compiler fork, plus installation scripts

Pinned Loading

  1. rust rust Public

    Forked from rust-lang/rust

    Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266

    Rust 806 39

  2. espflash espflash Public

    Serial flasher utility for Espressif SoCs and modules based on esptool.py

    Rust 661 151

  3. esp-hal esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    Rust 1.7k 392

  4. esp-generate esp-generate Public

    Template generation tool to create no_std applications targeting Espressif's chips.

    Rust 222 36

Repositories

Showing 10 of 55 repositories
  • esp-flash-loader Public

    A probe-rs flash loader for Espressif chips.

    esp-rs/esp-flash-loader’s past year of commit activity
    RPC 18 Apache-2.0 7 0 0 Updated Feb 5, 2026
  • esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    esp-rs/esp-hal’s past year of commit activity
    Rust 1,711 Apache-2.0 392 232 (8 issues need help) 21 Updated Feb 5, 2026
  • esp-pacs Public

    Peripheral Access Crates for Espressif SoCs and modules

    esp-rs/esp-pacs’s past year of commit activity
    Rust 156 Apache-2.0 46 6 0 Updated Feb 5, 2026
  • esp-mbedtls Public

    mbedtls for bare-metal

    esp-rs/esp-mbedtls’s past year of commit activity
    Rust 38 Apache-2.0 33 8 3 Updated Feb 5, 2026
  • esp-idf-hal Public

    embedded-hal implementation for Rust on ESP32 and ESP-IDF

    esp-rs/esp-idf-hal’s past year of commit activity
    Rust 682 Apache-2.0 212 41 (1 issue needs help) 15 Updated Feb 5, 2026
  • espflash Public

    Serial flasher utility for Espressif SoCs and modules based on esptool.py

    esp-rs/espflash’s past year of commit activity
    Rust 661 Apache-2.0 151 24 (3 issues need help) 6 Updated Feb 5, 2026
  • embuild Public

    Build support for embedded Rust: Cargo integration with other embedded build ecosystems & tools, like PlatformIO, CMake and kconfig.

    esp-rs/embuild’s past year of commit activity
    Rust 175 Apache-2.0 45 9 2 Updated Feb 5, 2026
  • esp-idf-svc Public

    Type-Safe Rust Wrappers for various ESP-IDF services (WiFi, Network, Httpd, Logging, etc.)

    esp-rs/esp-idf-svc’s past year of commit activity
    Rust 479 Apache-2.0 228 50 (1 issue needs help) 17 Updated Feb 5, 2026
  • esp-rs/repo-activity-digest’s past year of commit activity
    Python 2 Apache-2.0 1 0 0 Updated Feb 5, 2026
  • no_std-training Public

    Getting-started guide on using the Rust with Espressif SoCs using no_std.

    esp-rs/no_std-training’s past year of commit activity
    Rust 125 Apache-2.0 25 3 0 Updated Jan 28, 2026

Most used topics

Loading…