spinoff
spinoff is a simple to use library for displaying spinners in the terminal, with plenty of features and options.
Usage
use ;
use sleep;
use Duration;
let spinner = new;
sleep;
spinner.success;
Update a spinner
use ;
use sleep;
use Duration;
let mut spinner = new;
sleep;
spinner.update;
sleep;
spinner.stop_and_persist;
Documentation
- All documentation can be found on the Docs.rs page.
- If you want to see all the available
Spinneroptions, check theSpinnersenum.
Examples
To run some of the included examples, use:
Contributing
Any contributions to this crate are highly appreciated. If you have any ideas/suggestions/bug fixes, please open an issue or pull request.
License
This crate is licensed under the MIT license.