stati
Rust library for progress bars
WARNING
currently very unfinished, semi-undocumented, and requires nightly rust to build, as it is still very much in development.
Installation
This currently requires nightly rust, so first setup the nightly toolchain:
rustup override set nightly
Then add this line to your Cargo.toml
= "0.2.0-beta"
Usage
This is a simple example of how to create and progress a progress bar
use thread;
extern crate stati;
let mut manager = new;
let mut bar = manager.;
for i in 0..=100
To print text while using a progress bar, use the println
and print
macros like so
let mut manager = new;
println!;
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 LISENCE