Skip to content

softprops/par

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

par

a flexible progress bar for rust terminal interfaces

(heavily inspired by golang's pb)

api docs

Find them here

usage

Basic usage requires the creation of a par::Bar struct with a target value

use par::Bar;

fn main() {
    let bar = Bar::new(100);
    for i in 1..101 {
        bar.add(i);
        std::thread::sleep_ms(10);
    }
    bar.finish_print("done");
}

Doug Tangren (softprops) 2015

About

rust progress bar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages