loading_screen 0.1.0

A loading screen library for Rust
Documentation
  • Coverage
  • 60%
    3 out of 5 items documented3 out of 4 items with examples
  • Size
  • Source code size: 16.81 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.78 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • TheBearodactyl

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"