2 releases

new 0.1.1 Apr 24, 2024
0.1.0 Apr 24, 2024

#1150 in Command line utilities

Download history 225/week @ 2024-04-22

225 downloads per month

MIT/Apache

10KB
150 lines

ci workflow

cranc 🦀

A simple terminal progress bar in rust with a nice, type-driven, functional API.

Early stages of development so it's basic and rough around the edges.

The API is subject to substantial change.

Code based on Will Crichton's excellent talk, "Type-Driven API Design in Rust" (although any errors are my own), with some inspiration from tqdm.

Why cranc?

A play on "cranc", which is Welsh for "crab" and "crank" as in "to crank the engine".


lib.rs:

A simple progress indicator for iterators. Displays a spinner if the iterator is not sized. For sized iterators, a progress bar is displayed by default.

No runtime deps