Crate stati

source · []
Expand description

A Rust library for easy to use and configurable cli progress bars

Features

  • fairness:
    • enables using parking_lot’s FairMutex
    • (adds some overhead but may fix some issues?)
  • nightly:
    • enables using nighlty rust (generic_associated_types) for some extra optimizations

Modules

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

Enums

How the bar is handled when it is completed (done is called)

Traits

Basic API of a progress bar, providing methods required for all progress bars