prgrs 0.5.0

prgrs is a progress bar for rust, that aims to work like the python package tqdm
Documentation

prgrs - A simple to use progress bar for your iterators

prgrs is a progress bar for rust, that aims to work like the python package tqdm.

Have a look at the Documentation

Example:

use prgrs::{Prgrs, writeln};
use std::{thread, time};

fn main() {
    for i in Prgrs::new(0..1000, 1000) {
        thread::sleep(time::Duration::from_millis(50));
        if i % 10 == 0{
            let str = format!("{}", i);
            writeln(&str).expect("prgrs::writeln: Some Problem occured while trying to print");
        }
    }
}

Todos:

  • Prevent flickering