itermore 0.3.0

🤸‍♀️ More iterator adaptors
Documentation
<!-- Generated by cargo-onedoc. DO NOT EDIT. -->

# itermore

[![Crates.io Version](https://img.shields.io/crates/v/itermore.svg)](https://crates.io/crates/itermore)
[![Docs.rs Latest](https://img.shields.io/badge/docs.rs-latest-blue.svg)](https://docs.rs/itermore)
[![Build Status](https://img.shields.io/github/workflow/status/rossmacarthur/itermore/build/trunk)](https://github.com/rossmacarthur/itermore/actions?query=workflow%3Abuild)

🤸‍♀️ More iterator adaptors.

This crate provides some useful iterator adaptors like
`chunks` and `windows`. Unlike
[`itertools`](https://docs.rs/itertools) this crate provides a separate
extension trait for each adaptor. Additionally, each type of adaptor is
feature flagged so you only have to compile the features you need.

## Getting started

Add the crate to Cargo manifest.

```sh
cargo add itermore
```

And bring the extension traits into scope.

```rust
use itermore::prelude::*;
```

Now you can use extension methods like `windows` on
any iterator.

```rust
for [a, b, c] in iter.windows() {
    println!("{} {} {}", a, b, c)
}
// Outputs
//    1 2 3
//    2 3 4
//    3 4 5
```

## License

This project is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details.