Rust no-std

Open-source Rust projects categorized as no-std

Top 23 Rust no-std Projects

  • serde

    Serialization framework for Rust

    Project mention: I pre-released my project "json-responder" written in Rust | dev.to | 2024-01-21

    tokio / hyper / toml / serde / serde_json / json5 / console

  • Rhai

    Rhai - An embedded scripting language for Rust.

    Project mention: RustPython | news.ycombinator.com | 2024-02-07
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • rtic

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

    Project mention: Is rust used for microchip coding? | /r/rust | 2023-06-27

    There's also RTIC which is another framework that makes concurrency trivial.

  • heapless

    Heapless, `static` friendly data structures

  • xargo

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

  • time

    The most used Rust library for date and time handling. (by time-rs)

    Project mention: Getaddrinfo() on glibc calls getenv(), oh boy | news.ycombinator.com | 2023-10-16

    The problem is that this effects higher languages too, because they often build on libc. And on some OSes, they don't have a choice, because the system call interface is unstable and/or undocumented).

    For example in rust, multiple time libraries were found to be unsound if `std::env::set_env` was ever called from a multi-threaded program. See:

    https://github.com/time-rs/time/issues/293 and https://github.com/chronotope/chrono/issues/499

    https://github.com/rust-lang/rust/issues/27970

    https://github.com/rust-lang/rust/issues/90308

  • embedded-graphics

    A no_std graphics library for embedded applications

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • cortex-m

    Low level access to Cortex-M processors

    Project mention: Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022 | news.ycombinator.com | 2023-06-27

    I do not have as strong of feelings as your parent, but:

    1. A lot of the APIs make use of the typestate pattern, which is nice, but also very verbose, and might turn many people off.

    2. The generated API documentation for the lower level crates relies on you knowing the feel for how it generates the various APIs. It can take some time to get used to, especially if you're used to the better documentation of the broader ecosystem.

    3. A bunch of the ecosystem crates assume the "I am running one program in ring0" kind of thing, and not "I have an RTOS" sort of case. See the discussion in https://github.com/rust-embedded/cortex-m/issues/233 for example.

  • cortex-m-quickstart

    Template to develop bare metal applications for Cortex-M microcontrollers

  • statig

    Hierarchical state machines for designing event-driven systems

    Project mention: Hierarchical state machine in Rust with `statig` | /r/embedded | 2023-03-27

    I went through multiple iterations for the design before arriving on something that (to me at least) feels clean and is easy to maintain. But of course I’m a bit biased and I’m curious to hear what other people think. So if this sounds interesting to you be sure to check out the repo!

  • governor

    A rate-limiting library for Rust (f.k.a. ratelimit_meter)

  • ntfs

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

    Project mention: An implementation of the NTFS filesystem in a Rust crate | /r/hypeurls | 2023-10-28
  • beef

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

  • rust-lexical

    Fast numeric to- and from-string conversion routines.

  • staticvec

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

    Project mention: Posting asking if the Rust Reddit community is overly regulated gets regulated. | /r/programmingcirclejerk | 2023-05-27

    This crate of mine for example is currently literally unusable until the deeply fundamental features that John Random kinda-sorta removed in this pull request, ostensibly in preparation for whatever shittily stated syntax is ultimately establihed by whatever the hell "keyword generics" actually is (I really don't know, like this isn't a joke, I fundamentally do not understand what the fuck they're proposing at all in any way or how it's meaningfully and usefullly different from the previous syntax).

  • gdbstub

    An ergonomic, featureful, and easy-to-integrate implementation of the GDB Remote Serial Protocol in Rust (with no-compromises #![no_std] support)

  • embedded-alloc

    A heap allocator for embedded systems

    Project mention: Embedded Rust on BBC Micro Bit: unlocking Vec and HashMap | dev.to | 2023-03-24

    Luckily, the embedded-alloc crate provides us with one (there is a complete example in the associated Github repository). We also need the cortex-m crate to handle critical sections. Add them to the project's dependencies like so:

  • scapegoat

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

  • blisp

    A statically typed Lisp like scripting programming language for Rust.

    Project mention: BLisp: A Statically Typed Lisp Like Language | news.ycombinator.com | 2023-07-06
  • tz-rs

    A pure Rust reimplementation of libc functions localtime, gmtime and mktime.

  • crossbus

    A Platform-less, Runtime-less Actor Computing Model

    Project mention: Integrate Blog OS with CrossBus: Vga Text | /r/rust | 2023-04-06

    The full code is here.

  • pasts

    Minimal and simpler alternative to the futures crate.

  • portable-atomic

    Portable atomic types including support for 128-bit atomics, atomic float, etc.

  • 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 2024-02-07.

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 8,403
2 Rhai 3,360
3 rtic 1,562
4 heapless 1,356
5 xargo 1,072
6 time 971
7 embedded-graphics 831
8 cortex-m 726
9 cortex-m-quickstart 708
10 statig 521
11 governor 486
12 ntfs 482
13 beef 320
14 rust-lexical 278
15 staticvec 268
16 gdbstub 265
17 embedded-alloc 252
18 scapegoat 236
19 blisp 175
20 tz-rs 167
21 crossbus 118
22 pasts 105
23 portable-atomic 98
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com