console-rs / indicatif

A command line progress reporting library for Rust
MIT License
4.22k stars 238 forks source link

fix overflow crash when displaying ETA #555

Closed conradoplg closed 1 year ago

conradoplg commented 1 year ago

Possible fix for https://github.com/console-rs/indicatif/issues/554, but I wasn't thorough checking for other possible sources of overflow (in particular in the ETA calculation itself, though from a glance it seems OK)

djc commented 1 year ago

Right, thanks!