rpb 0.1.5

A simple implementation of progress bar for rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use rpb::bar::Bar;
use std::thread::sleep;
use std::time;

fn main() {
    let mut bar = Bar::new(100);
    for _i in 0..100 {
        bar.add(1);
        sleep(time::Duration::from_millis(100))
    }
}