#pull-request #repo

deprecated queue

Simple wrapper around Vec to provide a FIFO queue

6 releases

Uses old Rust 2015

0.3.2-final Aug 28, 2019
0.3.1 Aug 27, 2019
0.3.0 Jan 27, 2018
0.2.0 May 29, 2017
0.1.1 Apr 6, 2017

#71 in #pull-request

Download history 522/week @ 2024-07-22 478/week @ 2024-07-29 372/week @ 2024-08-05 273/week @ 2024-08-12 313/week @ 2024-08-19 347/week @ 2024-08-26 331/week @ 2024-09-02 231/week @ 2024-09-09 98/week @ 2024-09-16 471/week @ 2024-09-23 329/week @ 2024-09-30 147/week @ 2024-10-07 278/week @ 2024-10-14 228/week @ 2024-10-21 281/week @ 2024-10-28 69/week @ 2024-11-04

861 downloads per month
Used in 6 crates (3 directly)

MIT license

13KB
210 lines

Crate Documentation Pipeline Status Coverage MIT License Maintenance

This crate is deprecated and no longer maintained. Use VecDeque (since 2018) if you need something similar. This is the last and final release. (0.3.1).

A FIFO queue built around Vec with an optional capacity.

This project is hosted at Gitlab and the repo is mirrored to Github. Pull requests, issues, etc. will be at Gitlab.

Documentation is located at https://rascul.gitlab.io/queue for master and at at Docs.rs for published releases.

A crate is made available at Crates.io.

use queue::Queue;

let mut q = Queue::new();

q.queue("hello").unwrap();
q.queue("out").unwrap();
q.queue("there!").unwrap();

while let Some(item) = q.dequeue() {
	println!("{}", item);
}

No runtime deps