Enhance CLI Build Duration Output with Human-Readable Formatting (#4591)

* Use humantime for build duration formatting in CLI

Replaces manual millisecond formatting with humantime::format_duration for improved readability of build duration logs. Adds humantime as a dependency in Cargo.toml.

* Format build duration with millisecond precision

Changed build duration logging to use millisecond precision instead of default formatting to avoid microsecond/nanosecond noise.

* Refactor duration formatting to use helper function to reduce code duplication.

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Fu WangandJonathan Kelley authored and GitHub committed 2026-01-16 17:57:14 -08:00
1 parent 8c1911c268
commit 128a9d9fad
3 files changed
+13 -4

No files matched your search

Generated
+1
View File
@@ -5521,6 +5521,7 @@ dependencies = [
"headers",
"home",
"html_parser",
"humantime",
"hyper 1.8.1",
"hyper-rustls 0.27.7",
"hyper-util",