circle-rs 0.2.0

Minimalistic modern infinite terminal progress indicator.
Documentation

version

Minimalistic modern infinite terminal progress indicator.

This is based on 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:

use std::{io::Result, thread, time::Duration};
use circle_rs::{Infinite, Progress};

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

    Ok(())
}