#iterator #use-case #pbar #lazy-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

#31 in #use-case

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
~107K SLoC