Skip to content

A modern fork of the spinners crate, with a focus on atomicity

License

Notifications You must be signed in to change notification settings

peaske7/spinners

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spinners - 🛎 60+ Elegant terminal spinners for Rust

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

❤️ fgribreau's other amazing creations

Install

See Cargo page

Usage

use atomic_spinners::SpinnerBuilder;
use std::{thread::sleep, time::Duration};

fn main() {
    let mut sp = Spinner::new()
        .message("Waiting for 3 seconds")
        .build();
    sleep(Duration::from_secs(3));
    sp.stop();
}

Example

cargo run --example simple

License

MIT © François-Guillaume Ribreau, James Cordor, Haruki Jay Shimada

About

A modern fork of the spinners crate, with a focus on atomicity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

  • Rust 100.0%