nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.22k stars 42 forks source link

Feature request: Add an option to opt-out from using cargo binstall #218

Closed spitfire05 closed 1 year ago

spitfire05 commented 1 year ago

cargo binstall can be sometimes problematic (#213), so it'd be nice to force cargo install-update to using cargo install, even if cargo-binstall is in PATH.

Something along the lines of --no-binstall argument flag would be nice.

Thoughts?

nabijaczleweli commented 1 year ago

Per manual:

If you want to do that globally, then don't have cargo-binstall in the PATH, I consider this a configuration item.

If you want to do this per-run, then do something like -r "$(command -v cargo)".

If you want to do this per-crate, as I assume you do in this case, then configure something, for example cargo install-update-config -v '>=0.0.0' the-crate, which will essentially "do" nothing.

spitfire05 commented 1 year ago

Ok, sounds reasonable. I guess this issue can be closed then.