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

#34 in Command-line interface

Download history 41735/week @ 2024-07-20 38304/week @ 2024-07-27 37518/week @ 2024-08-03 50240/week @ 2024-08-10 36414/week @ 2024-08-17 44983/week @ 2024-08-24 49410/week @ 2024-08-31 45841/week @ 2024-09-07 40777/week @ 2024-09-14 44603/week @ 2024-09-21 43428/week @ 2024-09-28 47033/week @ 2024-10-05 45932/week @ 2024-10-12 50789/week @ 2024-10-19 40807/week @ 2024-10-26 47279/week @ 2024-11-02

191,211 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
~37K SLoC