8000 GitHub - rascul/queue: Moved to Gitlab this repo is only a mirror
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rascul/queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crate Documentation Pipeline Status Coverage MIT License Maintenance

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);
}

About

Moved to Gitlab this repo is only a mirror

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0