5 releases (3 stable)

Uses old Rust 2015

1.2.0 Nov 10, 2019
1.1.0 Nov 10, 2019
1.0.0 Dec 21, 2017
0.0.2 Dec 18, 2017
0.0.1 Dec 17, 2017

#127 in Command-line interface

Download history 1956/week @ 2021-02-26 2431/week @ 2021-03-05 1935/week @ 2021-03-12 1251/week @ 2021-03-19 1423/week @ 2021-03-26 1326/week @ 2021-04-02 1127/week @ 2021-04-09 1180/week @ 2021-04-16 1160/week @ 2021-04-23 938/week @ 2021-04-30 788/week @ 2021-05-07 1491/week @ 2021-05-14 1598/week @ 2021-05-21 1326/week @ 2021-05-28 1396/week @ 2021-06-04 1234/week @ 2021-06-11

6,208 downloads per month
Used in less than 15 crates

MIT and LGPL-3.0

25KB
585 lines

Spinners - 🛎 60+ Elegant terminal spinners for Rust

Cargo version Crates.io docs.rs Crates.io

❤️ Shameless plug

Install

See Cargo page

Usage

extern crate spinners;

use spinners::{Spinner, Spinners};
use std::thread::sleep;
use std::time::Duration;

fn main() {
    let 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

Dependencies

~2MB
~45K SLoC