easy_progress

Crates.ioeasy_progress
lib.rseasy_progress
version0.1.1
sourcesrc
created_at2023-04-08 08:48:46.113136
updated_at2023-04-08 08:56:10.630473
descriptionGet progress easily
homepagehttps://crates.io/crates/easy_progress
repositoryhttps://github.com/divflex/easy_progress.git
max_upload_size
id833508
size5,447
(rain2307)

documentation

README

Easy Progress

Get progress easily

This example will produce a ProgressEvent 20 times.

// After loop 100 times it will produce 20 ProgressEvent
let mut p = Progress::new("test", 100, 20);

for _i in 0..100 {
    match p.next() {
        Some(event) => {
            println!("{:?}", event);
        }
        None => {}
    }
    std::thread::sleep(std::time::Duration::new(0, 1000 * 100))
}
Commit count: 0

cargo fmt