circle-rs 0.1.0

Minimalistic modern infinite terminal progress indicator.
Documentation

This is slightly changed version of rustbar crate, which is simple and minimalistic, but i needed another infinite bar animation, hence this crate.

The goal also was to be able to use it as simple as possible.

#use std::{io::Result, thread, time::Duration};

#use wait_lib::{Infinite, Progress};
pub fn main() -> Result<()> {
println!("\nGoing to poll some stuff.");
let mut infbar = Infinite::new().to_stderr();
infbar.set_msg("Polling");
infbar.start()?;
thread::sleep(Duration::from_secs(2));
infbar.stop()?;
Ok(())
}