Itertools — extra iterator adaptors, functions and macros.
To use the iterator methods in this crate, import the Itertools
trait:
use itertools::Itertools;
To enable the macros in this crate, use the #[macro_use]
attribute:
#[macro_use] extern crate itertools;
Rust Version
This version of itertools requires Rust 1.12 or later.