Skip to content

FGRibreau/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

❤️ 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

About

🛎 60 Elegant terminal spinners for Rust

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published