progressive 0.1.0

A rust library for showing progress of iterators and loops
Documentation
1
2
3
4
5
6
7
8
9
10
11
extern crate progressive;

use progressive::progress;
use std::time::Duration;

fn main() {
    for _ in progress(0..30) {
        // do something expensive here
        std::thread::sleep(Duration::from_millis(200));
    }
}