#lazy-evaluation #wrapper #iterator #wrapping #indicatif #heavily #pbar

lazy-pbar

An extremely lazy interface for indicatif, simplifying my one use case (Wrapping an iterator)

3 unstable releases

0.2.0 Oct 3, 2022
0.1.1 Oct 3, 2022
0.1.0 Sep 18, 2022

#13 in #heavily

MIT/Apache

3KB

lazy-pbar

A very lazy wrapper for any ProgressIterator with known length.

Style heavily borrowing from tqdm.

Example:

use lazy_pbar::pbar;

let mut x = 0;
for i in pbar(0..1_000_000) {
  x = i;
}

Dependencies

~3–11MB
~111K SLoC