loading
Used to display the loading style in the terminal, when the program needs to wait
, or display the progress
, it can improve the user experience.
Use
Add this in your Cargo.toml
:
[]
= "*"
Example
use Loading;
use thread;
use Duration;
Other example
cargo run --example status
cargo run --example download