queue

Crates.ioqueue
lib.rsqueue
version0.3.2-final
sourcesrc
created_at2017-04-06 05:06:38.30205
updated_at2019-08-28 23:00:10.517712
descriptionSimple wrapper around Vec to provide a FIFO queue.
homepagehttps://rascul.gitlab.io/queue
repositoryhttps://gitlab.com/rascul/queue
max_upload_size
id9765
size18,078
rascul (rascul)

documentation

https://docs.rs/queue

README

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);
}
Commit count: 67

cargo fmt