Iterware
Simple middleware for Rust iterators
Just a small package, mostly for debugging purposes. Most common use would be easily printing each value in an iterator as it passes.
Think of it like a for_each
adapter that doesn't change or consume the values of the iterator.
Usage
Simply import the IteratorMiddleware
trait
extern crate iterware; // Not really necessary
use IteratorMiddleware;
and use method chaining to add middleware to your iterators