Rust no-std

Open-source Rust projects categorized as no-std

Top 23 Rust no-std Projects

  • serde

    Serialization framework for Rust

    Project mention: Cargo workspace crate dedicated to tests (no lib or bin) | reddit.com/r/learnrust | 2023-01-22

    I have been looking at examples on github from famous crates (such as serde), and I found out that under in the test crate manifest there are none of the above ([lib] or [[bin]] section), and I can't seem to figure out how it can build ?

  • Rhai

    Rhai - An embedded scripting language for Rust.

    Project mention: Best language to use as a scripting lang for my rust app | reddit.com/r/rust | 2023-01-13
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • cortex-m-rtic

    Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers

    Project mention: eskarp: Custom design using ergogen, 3D printed case, RP2040 with Rust firmware | reddit.com/r/ErgoMechKeyboards | 2023-01-06

    RTIC - RTOS and task scheduling

  • heapless

    Heapless, `static` friendly data structures

    Project mention: """may_dangle""" stabilization | reddit.com/r/rust | 2022-10-26
  • xargo

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

    Project mention: How to fully replace/reimplement std? | reddit.com/r/rust | 2022-05-20

    I think you can use xargo for this with:

  • time

    Simple time handling in Rust (by time-rs)

    Project mention: time: MSRV policy is changing beginning 2023-07-01 to N-2 rustc versions | reddit.com/r/rust | 2022-12-18
  • embedded-graphics

    A no_std graphics library for embedded applications

    Project mention: How to build GUI for custom LCD screen connected to an Arduino Board? | reddit.com/r/rust | 2022-11-15

    Even if one used embedded-graphics, which would't require a line buffer, 8k is probably not enough RAM for the stack of a non-trivial Rust program. At least my even fairly simple RTIC programs that run fine in the 160k of a Feather M4 do not run at all in the 32k of a Feather M0.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • cortex-m

    Low level access to Cortex-M processors

  • cortex-m-quickstart

    Template to develop bare metal applications for Cortex-M microcontrollers

    Project mention: Weird Autocomplete Behavior with rust-embedded Template | reddit.com/r/rust | 2022-03-03

    This paragraph is to just give context that everything else has been setup correctly. I have installed all prerequisites and can successfully run cargo generate --git https://github.com/rust-embedded/cortex-m-quickstart. I have edited memory.x as mentioned, and .cargo/config.toml to specify my MCU. I then run cargo build, change my debug configuration to Debug (OpenOCD), hit F5 and successfully reach the first breakpoint.

  • governor

    A rate-limiting library for Rust (formerly ratelimit_meter)

  • beef

    Faster, more compact implementation of std::borrow::Cow (by maciejhirsz)

    Project mention: Faster sorting with decorate-sort-undecorate | reddit.com/r/rust | 2023-01-07

    Also of note: https://github.com/maciejhirsz/beef

  • staticvec

    Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.

    Project mention: Alternative for Vec for variable size arrays in no_std environment? | reddit.com/r/rust | 2022-05-17

    If you're on nightly, I have a crate that I'd say would seem to be exactly what you're looking for.

  • rust-lexical

    Fast numeric to- and from-string conversion routines.

  • ntfs

    An implementation of the NTFS filesystem in a Rust crate, usable from firmware level up to user-mode.

    Project mention: Am I the only one who finds Rust to be centered around Linux? Any Windows devs want to share their experience with Rust? | reddit.com/r/rust | 2022-02-01

    The most exciting windows project I'm following is /u/ColinFinck's NTFS implementation. It's exciting for what it's doing, and exciting for the kinds of GUIs and tools that can be built on top of it

  • scapegoat

    Safe, fallible, embedded-friendly ordered set/map via a scapegoat tree. Validated against BTreeSet/BTreeMap. (by tnballo)

  • gdbstub

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

    Project mention: A fast STM32 embedded system emulator implemented in Rust | reddit.com/r/rust | 2022-07-24

    now integrate gdbstub to support debugging code inside the emulator :)

  • embedded-alloc

    A heap allocator for Cortex-M processors

    Project mention: Help with alloc_cortex_m build | reddit.com/r/rust | 2022-06-02
  • blisp

    A statically typed Lisp like scripting programming language for Rust.

  • pasts

    Minimal and simpler alternative to the futures crate.

    Project mention: `alternator` gives an async function access to data but gives it back on await points | reddit.com/r/rust | 2022-06-14

    This was one of the original ideas behind pasts. I wanted to share data on a single threaded executor without using RefCell, so I created the Join struct api (renamed and redesigned many times). I'm curious what you think of that approach.

  • cast.rs

    Machine scalar casting that meets your expectations

  • wyhash-rs

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

  • acid_alloc

    Bare-metal allocators.

    Project mention: acid_alloc, a collection of bare-metal allocators | reddit.com/r/rust | 2022-08-22
  • driver-examples

    Rust example programs for many of my hardware device drivers running on STM32F3 Discovery, STM32F103 "Blue Pill", RaspberryPi and micro:bit boards

    Project mention: Rust embedded device driver examples for bluepill, and other boards | news.ycombinator.com | 2022-07-25
  • SaaSHub

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

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 2023-01-22.

Rust no-std related posts

Index

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

Project Stars
1 serde 6,613
2 Rhai 2,464
3 cortex-m-rtic 1,070
4 heapless 1,035
5 xargo 998
6 time 697
7 embedded-graphics 608
8 cortex-m 589
9 cortex-m-quickstart 586
10 governor 325
11 beef 286
12 staticvec 268
13 rust-lexical 265
14 ntfs 246
15 scapegoat 220
16 gdbstub 213
17 embedded-alloc 137
18 blisp 120
19 pasts 79
20 cast.rs 70
21 wyhash-rs 70
22 acid_alloc 64
23 driver-examples 63
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com