Crate stati

source · []
Expand description

A library for progress (bars)

Features

fairness: enables using parking_lot’s FairMutex (adds some overhead but may fix some issues?)

Modules

Subsets of progress bars that can be used for various things

Simple progress bar implementations. use these or create your own!

trait imports for stati.

Macros

the same as print! from the std lib, but it displays text through the provided BarManager instead of printing it directly, allowing printing without breaking the progressbar

the same as println! from the std lib, but it displays text through the provided BarManager instead of printing it directly, allowing printing without breaking the progressbar

Structs

Manager for all current progress bars and text output.

a wrapper around a Bar, allowing the manager to keep a copy while passing one to the user

A version of BarManager that can controll bars used across multiple threads through the ThreadedBarWrapper. the manager itself cannot be used across multiple threads, but the bars returned by it can be used in a different thread than it

a wrapper around a Bar, allowing the manager to keep a copy while passing one to the user

Enums

Traits

Functions that a progress bar should implement, like SimpleBar