Crate retrogress

Source
Expand description

Retrogress provides thread-safe progress bars with a simple and limited API that can be passed between modules and functions.

This crate provides progress bars that can be passed around, borrowed, or moved between threads, with implementations for both single-threaded and multi-threaded scenarios.

use retrogress::Progress;
use retrogress::{ProgressBar, Sync};

let mut progress = ProgressBar::new(Sync::boxed());
let pb = progress.append("step 1");
progress.println(pb, "Write a line of text above the progress bar");
progress.println(pb, "Write another line");
progress.succeeded(pb);

Re-exports§

pub use parallel::Parallel;
pub use progress::Progress;
pub use progress::ProgressBar;
pub use sync::Sync;

Modules§

parallel
progress
render
sync