A Rust library for showing terminal loading animations.
NOTE: Printing is only supported with the
```rust use terminal_spinners::{SpinnerBuilder, DOTS};
let handle = SpinnerBuilder::new().spinner(&DOTS).text("Loading unicorns").start(); // Do some other work... std::thread::sleep(std::time::Duration::from_secs(3)); handle.done(); ```
The examples/
directory contains an example for each available spinner. To see them in action, run cargo run --example <name>
.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.