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

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

#4 in #indicatif

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–13MB
~118K SLoC