spinners-rs

Crates.iospinners-rs
lib.rsspinners-rs
version2.3.0
sourcesrc
created_at2022-02-10 08:25:26.27981
updated_at2022-05-08 09:48:37.234239
descriptionA lightweight Spinner library for Rust
homepagehttps://github.com/jewlexx/spinners-rs
repositoryhttps://github.com/jewlexx/spinners-rs.git
max_upload_size
id530132
size62,296
Juliette Cordor (jewlexx)

documentation

https://docs.rs/spinners-rs

README

Spinners for Rust

Cargo version License Docs Downloads

82 fun and easy to use, lightweight, spinners for Rust, with minimal overhead, all the way from simple dots, to fun emoji based "spinners".

Demo Gif

Install

See Cargo page

Usage

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

let mut sp = Spinner::new(Spinners::Arrow, "Doing Some Things...");

sp.start();

thread::sleep(Duration::from_secs(3));

Example

cargo run --example cycle
cargo run --example spin

Made with 💗 by Juliette Cordor

Commit count: 100

cargo fmt