Which library does the progress bar depend on in cargo?

Which library does the progress bar depend on in cargo? I want to add a progress bar to my project, so I want to learn from it.

It looks like they implemented their own progress bar. I'm guessing that's because nothing existed that quite fit their needs when first implementing cargo.

In the past, I've found the indicatif crate to be quite nice to work with and generate pretty output.

6 Likes

+1 to indicatif, that's the one I think has the best bang for the buck, in terms of features/nice display vs. API complexity/usability.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.