15 stable releases
2.3.0 | May 8, 2022 |
---|---|
2.2.3 | May 8, 2022 |
1.2.4 | Mar 19, 2022 |
1.2.3 | Feb 19, 2022 |
#533 in Command-line interface
110 downloads per month
Used in 5 crates
53KB
1.5K
SLoC
Spinners for Rust
82 fun and easy to use, lightweight, spinners for Rust, with minimal overhead, all the way from simple dots, to fun emoji based "spinners".
Install
See Cargo page
Usage
use std::{thread, time::Duration};
use spinners_rs::{Spinner, Spinners};
let mut sp = Spinner::new(Spinners::Arrow, "Doing Some Things...");
sp.start();
thread::sleep(Duration::from_secs(3));
Example
cargo run --example cycle
cargo run --example spin
Made with 💗 by Juliette Cordor
Dependencies
~1.6–6.5MB
~47K SLoC