cargo-goodtimes-0.2.1 is not a library.
cargo-goodtimes
Interactive compilation timing analyzer for Rust projects — visualizes the critical path of crate compilation as a Gantt chart.

Features
- Gantt chart of every crate's compilation timeline
- Critical path highlighting — see which dependency chain determines your total build time
- What-if analysis — modify dependency edges in the browser to explore hypothetical build graphs
Installation
Prebuilt frontend assets are included in the crate — no Bun or Node.js required.
Note: Modifying the frontend requires Bun.
Usage
# Analyze the project in the current directory
# Analyze a specific project
# Use release profile
# Enable specific features
# Enable all features
# Include third-party dependencies in the chart
# Don't open the browser automatically
The tool will:
- Clean workspace crates (external deps stay cached)
- Run
cargo check --timings - Parse the timing data and compute the critical path
- Generate a self-contained HTML report and open it in your browser
Future improvements
- Machine-readable timings: Timing data is extracted by parsing the undocumented
UNIT_DATAembedded in cargo's--timingsHTML output, which may change between Rust versions. Cargo's--timings=jsonis currently nightly-only — once stabilized, this tool can switch to it for a more reliable data source.