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 809 39

  2. espflash espflash Public

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

    Rust 670 153

  3. esp-hal esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    Rust 1.8k 406

  4. esp-generate esp-generate Public

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

    Rust 230 35

Repositories

Showing 10 of 55 repositories
  • esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    esp-rs/esp-hal’s past year of commit activity
    Rust 1,768 Apache-2.0 406 234 28 Updated Mar 3, 2026
  • rust-build Public

    Installation tools and workflows for deploying/building Rust fork esp-rs/rust with Xtensa and RISC-V support

    esp-rs/rust-build’s past year of commit activity
    Dockerfile 299 MIT 38 13 1 Updated Mar 3, 2026
  • rust Public Forked from rust-lang/rust

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

    esp-rs/rust’s past year of commit activity
    Rust 809 Apache-2.0 15,367 9 1 Updated Mar 3, 2026
  • esp-rs/esp-rs.github.io’s past year of commit activity
    HTML 2 MIT 2 1 0 Updated Mar 2, 2026
  • mbedtls-rs Public

    mbedtls for bare-metal

    esp-rs/mbedtls-rs’s past year of commit activity
    Rust 43 Apache-2.0 34 9 3 Updated Mar 2, 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 695 Apache-2.0 218 41 (1 issue needs help) 12 Updated Feb 28, 2026
  • repo-activity-digest Public archive
    esp-rs/repo-activity-digest’s past year of commit activity
    Python 2 Apache-2.0 1 0 0 Updated Feb 28, 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 491 Apache-2.0 232 50 (1 issue needs help) 18 Updated Feb 27, 2026
  • embedded-svc Public

    Rust APIs and abstractions for various embedded services (WiFi, Network, Httpd, Logging, etc.)

    esp-rs/embedded-svc’s past year of commit activity
    Rust 168 Apache-2.0 45 8 5 Updated Feb 27, 2026
  • openthread Public
    esp-rs/openthread’s past year of commit activity
    Rust 101 17 7 (1 issue needs help) 2 Updated Feb 26, 2026