Skip to content
vic

rust-embedded/heapless

Heapless, `static` friendly data structures

rust-embedded/heapless.json
{
"createdAt": "2017-03-05T05:32:09Z",
"defaultBranch": "main",
"description": "Heapless, `static` friendly data structures",
"fullName": "rust-embedded/heapless",
"homepage": "",
"language": "Rust",
"name": "heapless",
"pushedAt": "2025-11-25T19:46:01Z",
"stargazersCount": 1862,
"topics": [
"data-structures",
"no-std",
"rust"
],
"updatedAt": "2025-11-25T19:46:05Z",
"url": "https://github.com/rust-embedded/heapless"
}

crates.io crates.io

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

This project is developed and maintained by the [libs team].

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

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:

Terminal window
$ cargo +nightly fmt --all

Licensed under either of

at your option.

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.

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.

[libs team] !: https://github.com/rust-embedded/wg#the-libs-team