headway 0.1.2

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

pub fn main() {
    for _ in (0..100).progress() {
        sleep(Duration::from_millis(50));
    }
}