I think most packages that use cargo install should also use --locked and --no-track.
The --locked will guarantee that the Cargo.lock file is used and the correct dependency versions are chosen.
The --no-track makes cargo no emit "tracking information". This tracking information is always placed in $PREFIX/.crates2.json or some file along those lines and makes all Rust packages clobber with each other if they are not manually removed.
I think most packages that use
cargo install
should also use--locked
and--no-track
.The
--locked
will guarantee that the Cargo.lock file is used and the correct dependency versions are chosen.The
--no-track
makes cargo no emit "tracking information". This tracking information is always placed in$PREFIX/.crates2.json
or some file along those lines and makes all Rust packages clobber with each other if they are not manually removed.