conda-forge / conda-smithy

The tool for managing conda-forge feedstocks.
https://conda-forge.org/
BSD 3-Clause "New" or "Revised" License
146 stars 169 forks source link

Additional rust linter rules #1952

Open wolfv opened 3 weeks ago

wolfv commented 3 weeks ago

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.