| Crates.io | loading_screen |
| lib.rs | loading_screen |
| version | 0.1.0 |
| created_at | 2024-07-21 23:51:39.280085+00 |
| updated_at | 2024-07-21 23:51:39.280085+00 |
| description | A loading screen library for Rust |
| homepage | |
| repository | https://github.com/TheBearodactyl/loading-screen |
| max_upload_size | |
| id | 1310655 |
| size | 7,623 |
This Rust library provides functionality to display a loading screen while running tasks. It includes two primary functions:
with_loading_screen: Displays a loading screen animation on a separate thread while executing a provided task synchronously.with_loading_screen_async: Displays a loading screen animation asynchronously while executing a provided task asynchronously.The default loading screen animation is a donut spinner, but you can add your own if you're a little bitch who can't handle a donut.
Add the following to your Cargo.toml:
[dependencies]
loading_screen = "0.1"