Rust Embedded

Open-source Rust projects categorized as Embedded | Edit details

Top 23 Rust Embedded Projects

  • GitHub repo tock

    A secure embedded operating system for microcontrollers

    Project mention: Hubris - OS for embedded computer systems | reddit.com/r/rust | 2021-11-30

    TockOS

  • GitHub repo smoltcp

    a smol tcp/ip stack

    Project mention: What are some low level networking libraries that y'all recommend? | reddit.com/r/rust | 2021-12-25

    smoltcp

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo OpenSK

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

    Project mention: Account protections - A Google Perspective | reddit.com/r/netsec | 2021-04-17

    Check out OpenSK https://github.com/google/OpenSK, https://www.hackster.io/news/say-hello-to-opensk-2ede5129299c

  • GitHub repo Rhai

    Rhai - An embedded scripting language for Rust.

    Project mention: Version `1.2.0` released. | reddit.com/r/Rhai | 2021-11-18

    Version 1.2.0 is released to crates.io.

  • GitHub repo xargo

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

  • GitHub repo rune

    An embeddable dynamic programming language for Rust.

    Project mention: Rune vs Rhai? | reddit.com/r/rust | 2022-01-01

    The biggest technical difference I'd say is that Rune uses a stack-based machine which makes adding deep C support somewhat obvious while Rhai performs AST walking to execute scripts.

  • GitHub repo anne-key

    Firmware for Anne Pro Keyboard written in Rust

    Project mention: This Year in Embedded Rust: 2021 Edition | reddit.com/r/rust | 2021-12-29

    I know of https://github.com/ah-/anne-key

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo keyberon

    A rust crate to create a pure rust keyboard firmware.

    Project mention: This Year in Embedded Rust: 2021 Edition | reddit.com/r/rust | 2021-12-29
  • GitHub repo embassy

    Rust Embedded async executor and HALs (by embassy-rs)

    Project mention: Why asynchronous Rust doesn't work | reddit.com/r/programming | 2021-11-13

    Rust’s async design allows for async to be used on a variety of hardware types, like embedded. Green threads/fibers are much more useful for managed languages like Go and Java that don’t typically have to run without an operating system or without a memory allocator. Of course C++ can do this also, with their new coroutines/generators feature but I don’t think it’s very controversial to say that it is much harder to use than Rust’s async.

  • GitHub repo atsamd

    Target atsamd microcontrollers using Rust

    Project mention: Writing embedded firmware using Rust | news.ycombinator.com | 2021-12-19

    The embedded-hal project supplies these for a wide variety of controllers, for SAMD specifically, https://github.com/atsamd-rs/atsamd .

  • GitHub repo rusty-clock

    An alarm clock with environment stats in pure bare metal embedded rust

    Project mention: What is your everyday print that you constantly use? Here is mine 😄works like a charm. No more waste! | reddit.com/r/3Dprinting | 2021-06-29

    My alarm clock https://github.com/TeXitoi/rusty-clock

  • GitHub repo opcua

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

    Project mention: Chess board in Rust | reddit.com/r/rust | 2021-04-09
  • GitHub repo nrf-hal

    A Rust HAL for the nRF family of devices

    Project mention: Rust on the MOS 6502: Beyond Fibonacci | news.ycombinator.com | 2021-09-21
  • GitHub repo cargo-embed

    a cargo extension for working with microcontrollers

    Project mention: How can I use probe-run and still debug application | reddit.com/r/rust | 2021-03-11

    It doesn't have to be GDB, just a way to debug the application via stepping through it (like I believe you can do with cargo-embed).

  • GitHub repo gdbstub

    An ergonomic and easy-to-integrate implementation of the GDB Remote Serial Protocol in Rust, with full no_std support.

    Project mention: gdbstub 0.6: An ergonomic, #![no_std] implementation of the GDB Remote Serial Protocol in Rust - now with async support! | reddit.com/r/rust | 2022-01-20

    crates.io | docs | repo

  • GitHub repo linux-embedded-hal

    Implementation of the `embedded-hal` traits for Linux devices

    Project mention: Rust for realtime motion control. | reddit.com/r/rust | 2021-02-20

    Makes sense. The EtherCAT master component can be loaded as a kernel module (for Etherlab), which I think is somewhat independent of the user code. The rust code interfaces with the driver through syscalls. There is some discussion about Rust with PREEMPT_RT here https://github.com/rust-embedded/linux-embedded-hal/issues/45 but it looks like it is still open.

  • GitHub repo houseflow

    Home automation platform for microcontrollers(including ESP8266/ESP32), Raspberry Pi, and others. Made with Rust and C++.

    Project mention: Web framework for production use | reddit.com/r/rust | 2021-08-29

    I used actix-web framework, but recently switched to axum in one of my projects, and it's really nice, the community is very helpful, and there's a good documentation, I don't like few things in actix-web, for example if you want stable you need to use old Tokio 0.x, while most crates are now running 1.x, and those aren't compatible with each other. Axum is also much more modular, it uses few existing crates such as hyper, http and etc, where actix-web makes it's own actix-http. If anyone is interested, here's the project I'm talking about.

  • GitHub repo infinitree

    Scalable and encrypted embedded database with 3-tier caching

    Project mention: Infinitree: Versioned, Embedded Database in Rust | news.ycombinator.com | 2021-10-22
  • GitHub repo signalo

    A DSP toolbox with focus on embedded environments written in Rust.

    Project mention: Convoluting a signal in rust | reddit.com/r/rust | 2021-04-12

    I found an implementation in signalo_filters but it doesn't implement the filter all the way up to window_length 41 (ref).

  • GitHub repo stm32f7xx-hal

    A Rust embedded-hal HAL for all MCUs in the STM32 F7 family

    Project mention: Builder Pattern in Rust | news.ycombinator.com | 2021-10-20
  • GitHub repo wyhash-rs

    wyhash fast portable non-cryptographic hashing algorithm and random number generator in Rust

    Project mention: Unscientific comparison of insert performance for some collection crates for large u64 -> u64 datasets | reddit.com/r/rust | 2021-04-03

    you can try to use wyhash: https://github.com/eldruin/wyhash-rs

  • GitHub repo driver-examples

    Rust example programs for many of my hardware device drivers running on STM32F3 Discovery or STM32F103 "Blue Pill" boards

    Project mention: This Year in Embedded Rust: 2021 edition | news.ycombinator.com | 2021-12-29
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). The latest post mention was on 2022-01-20.

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 tock 3,337
2 smoltcp 2,313
3 OpenSK 2,135
4 Rhai 1,452
5 xargo 907
6 rune 848
7 anne-key 527
8 keyberon 517
9 embassy 487
10 atsamd 353
11 rusty-clock 290
12 opcua 266
13 nrf-hal 262
14 cargo-embed 177
15 gdbstub 138
16 linux-embedded-hal 121
17 flip-link 85
18 houseflow 78
19 infinitree 77
20 signalo 65
21 stm32f7xx-hal 59
22 wyhash-rs 56
23 driver-examples 48
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com