gen-nested-iter-yield

crates.io docs.rs CI style

gen-nested-iter-yield exports a helper macro, nested_iter_yield, which can be used to generate n-nested for loops over identical iterators. This is useful for generating a stream of permutations with replacement without storing unnecessary intermediary buffers.

The macro returns a genawaiter::sync generator.