Crate stati

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

Re-exports§

pub use wrapper::ThreadedBarWrapper;

Modules§

bars
Simple progress bar implementations. use these or create your own!
iterator
macros
prelude
trait imports for stati.
subsets
wrapper

Macros§

print
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
println
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§

BarManager
Manager for all current progress bars and text output.

Enums§

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

Traits§

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