blob: b1db08b800f9696baf2f3bbdd4e77c853a43e271 [file] [log] [blame]
use indicatif::ProgressBar;
use std::time::Duration;
fn main() {
let progress = ProgressBar::new(10);
for _ in 0..10 {
progress.inc(1);
std::thread::sleep(Duration::from_secs(1));
}
progress.finish();
}