bare_metal_deque

Crates.iobare_metal_deque
lib.rsbare_metal_deque
version0.1.0
created_at2025-03-28 19:19:00.114632+00
updated_at2025-03-28 19:19:00.114632+00
descriptionBareMetalDeque is a deque implementation intended for no_std use
homepagehttps://github.com/gjf2a/bare_metal_deque
repositoryhttps://github.com/gjf2a/bare_metal_deque
max_upload_size
id1610040
size22,857
Gabriel Ferrer (gjf2a)

documentation

README

bare_metal_deque

Deque for use with no-std Rust

The BareMetalDeque represents a fixed-size double-ended queue analogous to VecDeque. It is implemented internally as a ring buffer.

There are numerous other implementations of this concept available. None quite met my own needs. Here is the combination of features that distinguishes this particular implementation:

Key features:

  • Runs in no-std Rust projects.
  • No other dependencies.
  • No unsafe code.
  • Can be indexed (mutably and otherwise).
  • Can be iterated.
  • Implements the Copy and Clone traits.
  • Expects its object type to implement the Default, Copy, and Clone traits.
Commit count: 5

cargo fmt