# circular-queue
[![crates.io](https://img.shields.io/crates/v/circular-queue.svg)](https://crates.io/crates/circular-queue)
[![Documentation](https://docs.rs/circular-queue/badge.svg)](https://docs.rs/circular-queue)
[![Build Status](https://travis-ci.org/YaLTeR/circular-queue.svg?branch=master)](https://travis-ci.org/YaLTeR/circular-queue)
[![Build Status](https://ci.appveyor.com/api/projects/status/cj95ixknospdfojq/branch/master?svg=true)](https://ci.appveyor.com/project/YaLTeR/circular-queue)
A circular buffer-like queue container. Created with a set capacity. When pushing new items over capacity, old ones get overwritten. Supports iteration in newest to oldest and in oldest to newest order.
## License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.