9 stable releases (4 major)
4.1.0 | Jun 17, 2022 |
---|---|
4.0.0 | Apr 24, 2022 |
3.1.0 | Mar 11, 2022 |
3.0.1 | Feb 23, 2022 |
0.0.2 | Dec 18, 2017 |
#24 in Command-line interface
4,366 downloads per month
Used in 50 crates
(49 directly)
43KB
1.5K
SLoC
Spinners - 🛎 60+ Elegant terminal spinners for Rust
❤️ Shameless plug
Install
See Cargo page
Usage
use spinners::{Spinner, Spinners};
use std::thread::sleep;
use std::time::Duration;
fn main() {
let mut sp = Spinner::new(Spinners::Dots9, "Waiting for 3 seconds".into());
sleep(Duration::from_secs(3));
sp.stop();
}
Example
cargo run --example cycle
cargo run --example simple
License
MIT © François-Guillaume Ribreau, James Cordor
Dependencies
~0.7–1.1MB
~27K SLoC