Skip to content
πŸ›Ž 60+ Elegant terminal spinners for Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples πŸ›Ž Dec 17, 2017
src πŸ›Ž Dec 17, 2017
.gitignore πŸ›Ž Dec 17, 2017
Cargo.toml (cargo-release) start next development iteration 1.0.1-alpha.0 Dec 21, 2017
README.md Update README.md Jan 1, 2018
update_spinners.sh πŸ›Ž Dec 17, 2017

README.md

Spinners - πŸ›Ž 60+ Elegant terminal spinners for Rust

Cargo version Crates.io docs.rs Crates.io

❀️ Shameless plug

Install

See Cargo page

Usage

extern crate spinners;

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

fn main() {
    let 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

You can’t perform that action at this time.