Crates.io | spinners-rs |
lib.rs | spinners-rs |
version | 2.3.0 |
source | src |
created_at | 2022-02-10 08:25:26.27981 |
updated_at | 2022-05-08 09:48:37.234239 |
description | A lightweight Spinner library for Rust |
homepage | https://github.com/jewlexx/spinners-rs |
repository | https://github.com/jewlexx/spinners-rs.git |
max_upload_size | |
id | 530132 |
size | 62,296 |
82 fun and easy to use, lightweight, spinners for Rust, with minimal overhead, all the way from simple dots, to fun emoji based "spinners".
See Cargo page
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));
cargo run --example cycle
cargo run --example spin
Made with 💗 by Juliette Cordor