spinners-jdxcode

Crates.iospinners-jdxcode
lib.rsspinners-jdxcode
version4.1.0
sourcesrc
created_at2023-02-01 02:49:41.146962
updated_at2023-02-01 02:49:41.146962
description🛎 60+ Elegant terminal spinners for Rust
homepagehttps://github.com/fgribreau/spinners
repositoryhttps://github.com/fgribreau/spinners
max_upload_size
id773203
size48,368
(jdx)

documentation

https://docs.rs/spinners

README

Spinners - 🛎 60+ Elegant terminal spinners for Rust

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

❤️ Shameless plug

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

Commit count: 118

cargo fmt