loading_screen

Crates.ioloading_screen
lib.rsloading_screen
version0.1.0
sourcesrc
created_at2024-07-21 23:51:39.280085
updated_at2024-07-21 23:51:39.280085
descriptionA loading screen library for Rust
homepage
repositoryhttps://github.com/TheBearodactyl/loading-screen
max_upload_size
id1310655
size7,623
The Bearodactyl (TheBearodactyl)

documentation

README

Loading Screen

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.

Installation

Add the following to your Cargo.toml:

[dependencies]
loading_screen = "0.1"
Commit count: 0

cargo fmt