stati

Rust library for progress bars

WARNING

This crate is still in development, and although it should be fine to use, things may change at any time

Installation

Add this line to your Cargo.toml

toml stati = "0.7.0-beta"

Usage

This is a simple example of how to create and progress a progress bar

```rust use std::thread;

extern crate stati;

use stati::prelude::*;

let mut manager = BarManager::new(); let mut bar = manager.registerbar(bars::SimpleBar::new("Working...", ())); for i in 0..=100 { bar.setprogress(i); manager.print(); thread::sleep_ms(100); } ```

To print text while using a progress bar, use the println and print macros like so

rust let mut manager = BarManager::new(); stati::println!(manager, "Made some progress");

Why?

Many progress bars that I have used in the past have suffered from issues such as not being able to have multiple bars at once, or not being able to print other messages while a bar was running. this crate aims to solve all of these issues, and generaly make it much nicer to use.

Lisence

MIT, see LICENSE

TODO's