heapless icon indicating copy to clipboard operation
heapless copied to clipboard

Heapless, `static` friendly data structures

Results 105 heapless issues
Sort by recently updated
recently updated
newest added

I see the "Embedded Template Library" (ETL, https://github.com/ETLCPP/etl ) being used quite often for example in embedded programming in C++. A question: is this crate well the "Rust equivalent" of...

question

For my usecase, I need to be able to refer to `IndexMap` keys by `usize` index as well as by their keys. Specifically, I would like access to the [`.insert_full(k,...

enhancement

I believe there's an interesting use-case for `heapless::Vec` to represent always null-terminated strings for FFI purposes I've done something like this before in [unixstring](https://github.com/vrmiguel/unixstring) so I believe I could make...

enhancement

std drain retures a new struct Drain, but heapless can drop the drained data by using method copy_within & truncate.

enhancement

I was wondering if you could make a vec macro that is similar to the one in the standard lib.

enhancement

Implement defmt for FnvIndexMap

enhancement

So, a dynamically sized `Vec`, but still with a max capacity. This would remain heapless, as you can construct the slice on the stack or `static` and pass it in....

enhancement

I am developing in RISC-V and in my understanding the Queue is not thread or interrupt safe. Imagine the following scenario where an item is dequeued: ```rust unsafe fn inner_dequeue(&self)...

question

For example the function/trait String::from("some_string"). This should generate better panic information. It is available since 1.46 https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html

enhancement

Hi, I would like to truncate or set as None, or somehow accept without Error a string that is longer than the capacity of the String. Or is there some...

enhancement
question