This is just a simple customizable loading bar that scales to the size of your terminal and has the ability to print a message
At this current version (0.1.2), there is a single function: draw_bar
percentage, message, message_before, filled, unfilled, & ending
``` use rbar::draw_bar; use std::{thread, time};
// this example makes a loading bar similar to the one used by cargo
fn main() {
for i in 0..100 {
drawbar(i, "Loading...", false, '=', '-', '>');
thread::sleep(time::Duration::frommillis(100));
}
}
Output:
[=>--------------------------------] 1% Loading...
A little later...
[==================================] 100% Loading...
```