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 Public

    Forked from rust-lang/rust

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

    Rust 785 38

  2. espflash Public

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

    Rust 611 148

  3. esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    Rust 1.4k 316

  4. esp-generate Public

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

    Rust 135 27

Repositories

Showing 10 of 55 repositories
  • Python 2 Apache-2.0 1 0 0 Updated Aug 23, 2025
  • esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    Rust 1,354 Apache-2.0 316 206 (9 issues need help) 22 Updated Aug 22, 2025
  • rust-build Public

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

    Dockerfile 289 MIT 33 11 1 Updated Aug 20, 2025
  • rust Public Forked from rust-lang/rust

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

    Rust 785 Apache-2.0 14,328 10 0 Updated Aug 20, 2025
  • book Public

    The Rust on ESP Book

    JavaScript 245 Apache-2.0 62 7 1 Updated Aug 19, 2025
  • esp-pacs Public

    Peripheral Access Crates for Espressif SoCs and modules

    Rust 139 Apache-2.0 39 6 1 Updated Aug 19, 2025
  • esp-rust-board Public

    Open Hardware with ESP32-C3 compatible with Feather specification designed in KiCad

    579 46 7 1 Updated Aug 18, 2025
  • std-training Public

    Embedded Rust on Espressif training material.

    Rust 696 Apache-2.0 91 10 2 Updated Aug 18, 2025
  • no_std-training Public

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

    Rust 105 Apache-2.0 23 4 2 Updated Aug 19, 2025
  • esp-idf-template Public

    A "Hello, world!" template of a Rust binary crate for the ESP-IDF framework.

    CMake 560 Apache-2.0 64 20 8 Updated Aug 18, 2025