17 unstable releases (3 breaking)

0.4.4 Oct 25, 2024
0.4.3 Oct 24, 2024
0.3.3 Oct 24, 2024
0.2.0 Dec 9, 2023
0.1.1 Nov 30, 2023

#264 in Embedded development

Download history 27/week @ 2024-09-23 1029/week @ 2024-10-21 56/week @ 2024-10-28 23/week @ 2024-11-04

1,108 downloads per month

BSD-3-Clause

28KB
535 lines

Nostd Structs (and Algorithms)

The purpose of this crate is to provide datastructures and algorithms that are useful in environments without std. This goes for embedded devices, no OS environments, WebAssembly, and code where you prefer stack allocation over heap.

The algorithms and datastructures themselves will be wide-ranging and fairly esoteric, but nontheless applicable.

This is project really created as a central place for community contributions. I will be working on this myself for the time being, but the intention is that this becomes quite bigger than it currently is.


lib.rs:

Nostd Structs contains data structures and algorithms that are intended to be used in a minimal environment.

This is useful for cases where you are compiling without access to the standard library, such as in embedded environments.

An additional benefit is that, since the memory allocators tend to be tied to the standard library, the data structures in this crate are stack allocated, and do not require a heap. This has performance benefits and leads to predictable memory usage, at the cost of not using memory dynamically.

Dependencies

~69KB