Rust Embedded

Open-source Rust projects categorized as Embedded

Top 23 Rust Embedded Projects

  1. embassy

    Modern embedded framework, using Rust and async.

    Project mention: Rust on the RP2350 | news.ycombinator.com | 2025-03-18

    Embassy got _some_ support for rp2350 for quite some time now

    https://github.com/embassy-rs/embassy

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. tock

    A secure embedded operating system for microcontrollers

    Project mention: Pebble smartwatch firmware released as open-source | news.ycombinator.com | 2025-01-27

    TL;DR: No. Maybe? Depends.

    It's probably reasonable to make a distinction between "Real Time" desktop/server OS (on CPUs) vs "Real Time" embedded hardware OS (on MCUs).

    (Even aside from any hard-/soft- real time distinction.)

    On the embedded side, in addition to FreeRTOS (upon which Pebble OS is built), I'm aware of others with reasonably high profile such as:

    * Zephyr (Linux Foundation, C): https://en.wikipedia.org/wiki/Zephyr_(operating_system)

    * NuttX (Apache Software Foundation, C & C++): https://en.wikipedia.org/wiki/NuttX

    In addition, there's also some "up & coming" Rust language projects which fall somewhere along the "framework" to "OS" spectrum (in part, via https://arewertosyet.com):

    * Tock: https://github.com/tock/tock

    * Embassy: https://github.com/embassy-rs/embassy

    * Hubris: https://hubris.oxide.computer

    On the desktop side, I seem to recall in the past, OS such as BeOS & QNX have been presented as a possible future for real time desktop OS that hasn't arrived.

    As someone else already mentioned, PREEMPT_RT being merged for Linux is a recent development somewhat in this space which could have impact on both desktop & "embedded" situations but suitability varies dependent on, say, whether you're wanting to use it for audio production versus controlling some 10 tonne robot operating next to humans.

    Hope this at least goes some way to answering your question. :)

  4. Rhai

    Rhai - An embedded scripting language for Rust.

    Project mention: Rhai: An embedded scripting language for Rust | news.ycombinator.com | 2025-01-17
  5. smoltcp

    a smol tcp/ip stack

    Project mention: LwIP – Lightweight IP Stack | news.ycombinator.com | 2024-09-05
  6. OpenSK

    OpenSK is an open-source implementation for security keys written in Rust that supports both FIDO U2F and FIDO2 standards.

  7. rune

    An embeddable dynamic programming language for Rust. (by rune-rs)

    Project mention: 3 years of fulltime Rust game development, and why we're leaving Rust behind | news.ycombinator.com | 2024-04-26
  8. zenoh

    zenoh unifies data in motion, data in-use, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.

    Project mention: Show HN: Decentralized robots (and things) orchestration system | news.ycombinator.com | 2025-01-18

    Looks very interesting!

    How does this compare with Zenoh [1]?

    Also, I'm curious why you all included "OS" in the name? Almost every introduction to ROS/ROS2 has to explain that it isn't actually an operating system, and it seems like hyveOS is headed for the same misunderstanding.

    [1]: https://zenoh.io/

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. keyberon

    A rust crate to create a pure rust keyboard firmware.

  11. xargo

    The sysroot manager that lets you build and customize `std`

  12. esp-hal

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

  13. rmk

    Rust keyboard firmware library with layers, macros, real-time keymap editing, wireless(BLE) and split support (by HaoboGu)

    Project mention: Rmk: A feature rich Rust keyboard firmware | news.ycombinator.com | 2024-10-30
  14. ula

    μLA: Micro Logic Analyzer for RP2040

    Project mention: ΜLA: Micro Logic Analyzer for RP2040 | news.ycombinator.com | 2024-08-04
  15. lv_binding_rust

    LVGL bindings for Rust. A powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).

  16. statig

    Hierarchical state machines for designing event-driven systems

  17. atsamd

    Target atsamd microcontrollers using Rust

  18. stm32f1xx-hal

    A Rust embedded-hal HAL impl for the STM32F1 family based on japarics stm32f103xx-hal (by stm32-rs)

  19. flipperzero

    Rust on the Flipper Zero (by flipperzero-rs)

  20. anne-key

    Firmware for Anne Pro Keyboard written in Rust

  21. esp-idf-hal

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

    Project mention: How to Learn Rust in 2024 | news.ycombinator.com | 2024-09-23
  22. opcua

    A client and server implementation of the OPC UA specification written in Rust

  23. nrf-hal

    A Rust HAL for the nRF family of devices

  24. tinywasm

    A tiny, interpreted WebAssembly Runtime written in Rust

    Project mention: I Wrote a WebAssembly VM in C | news.ycombinator.com | 2025-02-03

    The person I replied to just said it is 266MB because it includes a compiler, and that obviously isn't true.

    https://github.com/bytecodealliance/wasm-micro-runtime

    This says 4000 lines

    https://github.com/explodingcamera/tinywasm

    What are we talking about here? There is obviously no reason a wasm jit has to be 266 MB

  25. trussed

    Modern Cryptographic Firmware

    Project mention: Ask HN: Embedded Rust Programming. What's Happening? | news.ycombinator.com | 2025-02-07

    I don’t know about the job market.

    As for use of rust in embedded products, we use it in solokeys and nitokeys (both hardware security keys). We codevelop a framework called Trussed:

    https://github.com/trussed-dev/trussed

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Embedded discussion

Log in or Post with

Rust Embedded related posts

Index

What are some of the best open-source Embedded projects in Rust? This list will help you:

# Project Stars
1 embassy 6,637
2 tock 5,745
3 Rhai 4,521
4 smoltcp 3,988
5 OpenSK 3,119
6 rune 1,893
7 zenoh 1,775
8 keyberon 1,120
9 xargo 1,105
10 esp-hal 1,096
11 rmk 1,018
12 ula 835
13 lv_binding_rust 773
14 statig 648
15 atsamd 601
16 stm32f1xx-hal 594
17 flipperzero 586
18 anne-key 568
19 esp-idf-hal 550
20 opcua 537
21 nrf-hal 534
22 tinywasm 504
23 trussed 445

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Rust is
the 5th most popular programming language
based on number of references?