Skip to content

Add an option to allow installing Rust tools with --locked #1567

@34j

Description

@34j

Without the --locked option and without dependencies properly specified in the hook, a new version release of a dependency can cause the hook that previously worked to suddenly stop working. Therefore, I propose adding an option to use --locked, as propsed in pre-commit/pre-commit#3162 .

Alternatively, as proposed in #681, supporting cargo-binstall would also resolve this issue for users with limited security concerns.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions