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 kept the initial implementation on `Vec`, but is there any reason why it doesn't use the implementation of `Serialize` for `[T]`?

skip-changelog

Follow up of #425 This time we need a dedicated `sealed` module for `StringInner`, because of the `pub mod string` in `lib.rs`. Maybe `VecInner` should have the same treatment, in...

Some operations on a `Vec` are infallible but can only be implemented using fallible methods. What do you think about adding more infallible methods? For example: - `from_array(data: [T; N])`:...

enhancement

This allows constructing a producer-consumer pair directly in a `static`, e.g. ```rust static PC: Mutex)>> = { static mut Q: Queue = Queue::new(); let (p, c) = unsafe { Q.split()...

I added `embedded_dma` feature to one can send `Vec`, `pool::object::Object` and `pool::boxed::Box` to embedded DMA as read/write buffers. It allows to use `Vec` with embedded DMA of HAL crates, for...

In the light of aiming for a stabilized API of v1.0 (#410) but having just done a significant API changeset in 0.8, I wanted to bring something up that has...

enhancement

Closes https://github.com/rust-embedded/heapless/issues/334 and https://github.com/rust-embedded/heapless/pull/365.

It might be desirable to have a string with truncation behavior when it is written beyond its capacity.

enhancement