15 releases

0.0.30 Sep 13, 2022
0.0.29 Sep 13, 2022

#2060 in Data structures

38 downloads per month

MIT/Apache

17KB
421 lines

queue-rs

This is a crate that provides queue related functions.

usage

use queue_rs::create_queue;

let mut queue = create_queue(QueueType::Vec, Some(32));

queueq.offer(i).unwrap();

let result: Option<i32> = queue.poll().unwrap();

Dependencies

~0.4–1MB
~21K SLoC