15 releases

0.0.30 Sep 13, 2022
0.0.29 Sep 13, 2022

#2424 in Data structures

Download history 35/week @ 2024-12-08 62/week @ 2025-02-09 22/week @ 2025-02-16

84 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
~20K SLoC