1 stable release
4.1.0 | Feb 1, 2023 |
---|
#633 in Command-line interface
46KB
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
~1.5MB
~38K SLoC