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

#52 in Command-line interface

Download history 43771/week @ 2024-09-19 40769/week @ 2024-09-26 48491/week @ 2024-10-03 45851/week @ 2024-10-10 47896/week @ 2024-10-17 46096/week @ 2024-10-24 47332/week @ 2024-10-31 39727/week @ 2024-11-07 38716/week @ 2024-11-14 40599/week @ 2024-11-21 38043/week @ 2024-11-28 43420/week @ 2024-12-05 39601/week @ 2024-12-12 20301/week @ 2024-12-19 13192/week @ 2024-12-26 28298/week @ 2025-01-02

109,301 downloads per month
Used in 116 crates (97 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
~39K SLoC