rust-embedded/heapless

Heapless, `static` friendly data structures

Rust

2,030

1,293 commits

updated Oct 6, 2026

See the code

README

crates.io crates.io

heapless

static friendly data structures that don't require dynamic memory allocation

This project is developed and maintained by the libs team.

Documentation

Change log

Tests

$ # run all
$ cargo test --features serde

$ # run only for example histbuf tests
$ cargo test histbuf --features serde

Formatting

Like most Rust projects, we use rustfmt to keep the formatting of code consistent. However, we make use of cecertain options that are currently only available in the nightly version:

$ cargo +nightly fmt --all

License

Licensed under either of

at your option.

MSRV Policy

This crate is guaranteed to compile with the latest two stable releases of Rust. For example, if the latest stable Rust release is 1.70, then this crate is guaranteed to compile with Rust 1.69 and 1.70.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

data-structures
no-std
rust

rust-embedded/heapless

Heapless, `static` friendly data structures

Rust

2,030

1,293 commits

updated Oct 6, 2026

See the code

README

crates.io crates.io

heapless

static friendly data structures that don't require dynamic memory allocation

This project is developed and maintained by the libs team.

Documentation

Change log

Tests

$ # run all
$ cargo test --features serde

$ # run only for example histbuf tests
$ cargo test histbuf --features serde

Formatting

Like most Rust projects, we use rustfmt to keep the formatting of code consistent. However, we make use of cecertain options that are currently only available in the nightly version:

$ cargo +nightly fmt --all

License

Licensed under either of

at your option.

MSRV Policy

This crate is guaranteed to compile with the latest two stable releases of Rust. For example, if the latest stable Rust release is 1.70, then this crate is guaranteed to compile with Rust 1.69 and 1.70.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

data-structures
no-std
rust

Significant stargazers

(top 24 of 91)

Taiki Endo

1,008 followers · starred Jan 2019

Yuri Astrakhan

453 followers · starred Feb 2023

Yuki Okushi

1,506 followers · starred Jun 2022

Dongpo Liu

730 followers · starred Sep 2026