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

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

  2. espflash espflash Public

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

    Rust 744 170

  3. esp-hal esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    Rust 2.1k 488

  4. esp-generate esp-generate Public

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

    Rust 297 41

Repositories

Showing 10 of 55 repositories
  • mbedtls-rs Public

    Rust wrappers for MbedTLS

    esp-rs/mbedtls-rs's past year of commit activity
    Rust 56 Apache-2.0 48 5 3 Updated Sep 9, 2026
  • esp-pacs Public

    Peripheral Access Crates for Espressif SoCs and modules

    esp-rs/esp-pacs's past year of commit activity
    Rust 182 Apache-2.0 56 11 5 Updated Sep 9, 2026
  • esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    esp-rs/esp-hal's past year of commit activity
    Rust 2,094 Apache-2.0 488 192 34 Updated Sep 9, 2026
  • esp-wifi-sys Public

    Wi-Fi and BT drivers packaged for integration into bare-metal esp-wifi.

    esp-rs/esp-wifi-sys's past year of commit activity
    Rust 443 Apache-2.0 102 4 (1 issue needs help) 1 Updated Sep 9, 2026
  • esp-idf-sys Public

    Bindings for ESP-IDF (Espressif's IoT Development Framework)

    esp-rs/esp-idf-sys's past year of commit activity
    Rust 402 Apache-2.0 163 39 5 Updated Sep 8, 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 140 Apache-2.0 25 1 1 Updated Sep 8, 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 308 MIT 38 12 6 Updated Sep 8, 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 830 Apache-2.0 17,338 14 1 Updated Sep 8, 2026
  • esp-generate Public

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

    esp-rs/esp-generate's past year of commit activity
    Rust 297 Apache-2.0 42 13 3 Updated Sep 8, 2026
  • openthread Public

    Platform-agnostic, async Rust bindings for OpenThread

    esp-rs/openthread's past year of commit activity
    Rust 110 24 5 (1 issue needs help) 3 Updated Sep 8, 2026