[crates.io/crates/simple_bar]
An extremely minimal terminal progress bar for Rust.
use std::{thread::sleep, time::Duration};
use simple_bar::ProgressBar;
let num_iterations = 500;
let length = 100;
let eta = false
let mut bar = ProgressBar::default(num_iterations, length, eta);
for _ in 0..num_iterations {
bar.update();
sleep(Duration::from_millis(200));
}