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

Download history 46896/week @ 2024-08-13 37588/week @ 2024-08-20 46622/week @ 2024-08-27 50332/week @ 2024-09-03 44042/week @ 2024-09-10 42001/week @ 2024-09-17 43323/week @ 2024-09-24 45989/week @ 2024-10-01 44532/week @ 2024-10-08 49379/week @ 2024-10-15 47181/week @ 2024-10-22 42044/week @ 2024-10-29 46030/week @ 2024-11-05 39392/week @ 2024-11-12 39739/week @ 2024-11-19 32667/week @ 2024-11-26

168,980 downloads per month
Used in 110 crates (94 directly)

MIT license

47KB
1.5K SLoC

Spinners - 🛎 60+ Elegant terminal spinners for Rust

Cargo version Crates.io docs.rs Crates.io Slack

❤️ Shameless plug

200083093-cf48fcab-d95c-4a59-ac66-6e167dd33e7e

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