The globbing in rebuild_if_project_changes goes over all .rs files in any subdirectory, including tests/ which are separate crates.
In my case, this causes a recompile of the entire project when a test file is changed, turning a 0.3s build into a 30s build.
My first thought was, we could improve this by making it ignore tests/ by default, or just scan src/.
My second thought was, isn't this what cargo does by default? What problem is build-info trying to solve by adding a rerun-if-changed to every file?