console-rs / indicatif

A command line progress reporting library for Rust
MIT License
4.45k stars 243 forks source link

Is indicatif asychronyous? #662

Closed nearest-river closed 1 month ago

nearest-river commented 1 month ago

just a silly question... Can I use indicatif in my tokio project?

djc commented 1 month ago

You can. indicatif doesn't do enough API (only writing little bits to the terminal) that async is worth it, but all the (synchronous) locks in indicatif work just fine in async environments.