nanoprogress-rust
Installation
SKILL.md
nanoprogress (Rust Progress Bars)
Apply these conventions when using nanoprogress in Rust CLI applications.
Package Fit
- Use
nanoprogressfor one simple determinate progress bar with zero runtime dependencies. - Prefer heavier crates such as
indicatiforkdamwhen you need multi-bars, spinners, templates, ETA/rate estimation, redraw throttling, or rich terminal layout. - Keep progress output out of machine-readable stdout. For CLIs that emit JSON/CSV/data on stdout, send the bar to stderr with
.writer(Box::new(std::io::stderr())). nanoprogressis currently a small standard-library-only crate; do not add terminal/color dependencies around it unless the product requirement exceeds what it provides.
Dependency
cargo add nanoprogress