Repository navigation
Install Rust tools with --locked by default or add a parameter to allow this #3162
New issue
New issue
Open
Open
Install Rust tools with --locked by default or add a parameter to allow this #3162
Description
@mlegner's profile
mlegner
opened
on Mar 21, 2024
search you tried in the issue tracker
rust locked
describe your actual problem
Many (most?) Rust projects come with lock files that specify the exact versions of dependencies with which they are tested. Sometimes, they don't work with newer versions, which is why Cargo offers the --locked parameter to build with the dependency versions specified in the lock files.
Currently, pre-commit installs Rust tools without the --locked parameter. I suggest to use this parameter by default or offer a way to specify that a hook should be built using that parameter.
pre-commit --version
pre-commit 3.6.2
Reacted by Tim Hutt, JGStew, Markus Hofbauer, Jannik Schäfer, Philipp Niedermayer and Dominic Kempf
Metadata
Metadata
Assignees
No one assigned
Labels
No labels
No labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions