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 770 38

  2. espflash espflash Public

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

    Rust 564 137

  3. esp-hal esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    Rust 1.2k 285

  4. esp-generate esp-generate Public

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

    Rust 102 18

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,163 Apache-2.0 285 221 (7 issues need help) 23 Updated May 21, 2025
  • esp-hal-community Public

    A collection of crates for use alongside esp-hal, but which are maintained by the community.

    esp-rs/esp-hal-community’s past year of commit activity
    Rust 25 Apache-2.0 23 4 1 Updated May 21, 2025
  • 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 156 Apache-2.0 43 8 1 Updated May 21, 2025
  • esp-rs/repo-activity-digest’s past year of commit activity
    Python 2 Apache-2.0 1 0 0 Updated May 21, 2025
  • esp-rust-board Public

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

    esp-rs/esp-rust-board’s past year of commit activity
    549 46 6 1 Updated May 20, 2025
  • openthread Public
    esp-rs/openthread’s past year of commit activity
    Rust 59 6 5 (1 issue needs help) 0 Updated May 20, 2025
  • espup Public

    Tool for installing and maintaining Espressif Rust ecosystem.

    esp-rs/espup’s past year of commit activity
    Rust 285 Apache-2.0 28 18 1 Updated May 19, 2025
  • esp-pacs Public

    Peripheral Access Crates for Espressif SoCs and modules

    esp-rs/esp-pacs’s past year of commit activity
    Rust 132 Apache-2.0 38 4 0 Updated May 19, 2025
  • 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 401 Apache-2.0 211 40 (2 issues need help) 17 Updated May 17, 2025
  • 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 278 MIT 32 11 1 Updated May 15, 2025