This is just a simple loading bar that scales to the size of your terminal and has the ability to print a message
At this current version, there is a single function: draw_bar
Arguments: percentage, message, and message_before
Do all the stuff you normally would to add a package to cargo. The current version is 1.0.3
use rbar::draw_bar;
use std::{thread, time};
fn main() {
for i in 0..101 {
draw_bar(i as f32, "Loading...", False);
thread::sleep(time::Duration::from_millis(10));
}
}