Skip to content

rust-embedded/heapless

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.

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.