-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-install
Description
In my project's CI, I cache a rust binary CLI tool so that it doesn't have to be reinstalled every time. However, when newer versions of the binary are released, it'd be nice to force an update.
So for example, it'd be great to have a cargo install X --force-if-newer
flag which acts like the --force
flag but is conditional on a never version of the binary being available. That way it doesn't reinstall blindly every time but only as necessary.
Edit: Oops, didn't open an internals thread first.
Eh2406 and k-nasa
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-install