#array #deque #slice #ring #no-std

nightly no-std holodeque

Array- and slice-backed double-ended queues in 100% safe Rust

2 unstable releases

0.2.0 Jul 8, 2021
0.1.0 Jul 6, 2021

#2468 in Data structures

MIT/Apache

110KB
2K SLoC

holodeque

Array- and slice-backed double-ended queues in 100% safe Rust.


This crate provides ArrayDeque and SliceDeque, fixed-size ring buffers with interfaces similar to the standard library's VecDeque.

holodeque makes use of the unstable array_map feature to provide Default initialization of arbitrarily-sized arrays. As a result, a nightly compiler is required until this feature is stabilized. See the tracking issue for its current status.

License

Licensed under either of

at your option.

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.

Dependencies

~160KB