1 2 3 4 5 6 7 8 9
use std::thread::sleep; use std::time::Duration; use zzz::*; fn main() { for _ in (0..1000).into_iter().with_progress(ProgressBar::smart()) { sleep(Duration::from_millis(33)); } }