cargo-frequent

Crates.iocargo-frequent
lib.rscargo-frequent
version0.0.1
created_at2025-12-05 16:40:54.511274+00
updated_at2025-12-05 16:40:54.511274+00
descriptionFind the cause of frequent Cargo rebuilds
homepage
repositoryhttps://github.com/wvhulle/cargo-frequent
max_upload_size
id1968661
size73,484
Willem Vanhulle (wvhulle)

documentation

README

cargo-frequent

This tool tells the cause of frequent recompilations by Cargo in Rust projects. It uses by default the verbose output of the Cargo check command. Causes of frequent recompiles that this tool may find:

  • environment variable changes (most common)
  • file changes
  • Rust compiler flags changed
  • dependency changed
  • feature changed
  • ...

Usage

Just run this command:

cargo frequent

which will print something like:

Running: cargo check

1 root cause:
  cargo-frequent [cargo-frequent] file:src/main.rs

The root cause of the rebuild is shown in the terminal.

You can also use the --json flag for structured output.

Installation

Installation:

cargo install cargo-frequent

If something does not work for you, please create a bug report in the source repository.

Commit count: 0

cargo fmt