10 stable releases (4 major)
4.1.1 | Nov 21, 2023 |
---|---|
4.1.0 | Jun 17, 2022 |
4.0.0 | Apr 24, 2022 |
3.1.0 | Mar 11, 2022 |
0.0.2 | Dec 18, 2017 |
#36 in Command-line interface
168,980 downloads per month
Used in 110 crates
(94 directly)
47KB
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