cargo-rebuild is a Cargo subcommand which forces a rebuild of the project.
behind the scenes, it just calls cargo clean and then cargo build.
cargo clean
cargo build
cargo install cargo-rebuild
cargo rebuild