headway 0.1.2

An ergonomic progress bar library
Documentation
1
2
3
4
5
6
7
8
9
10
11
use headway::ProgressBarIterable;
use std::{thread::sleep, time::Duration};

pub fn main() {
    for i in (1..).progress() {
        if i == 100 {
            break;
        }
        sleep(Duration::from_millis(50));
    }
}