|
|
|
|
|
by CJefferson
599 days ago
|
|
I don't understand why your suggested version is more explicit, safer, or less error prone. You'll have to justify that to me! 'cargo install ripgrep' has worked on every machine I've run it on. It's also easy for me to send to other people I work with. Your suggestion requires me go and find the repository. If I just clone the repository it's going to get the current master branch, not the most recent release (which sounds less safe and more error prone to me!) |
|
If you have to lookup the exact crate name (and you do, because otherwise you’re installing who-knows-what) what difference does it make?
It’s just a lazy tool for lazy installs that only works when there are a) not that many people using it (easy memorable names that aren’t easy to mess up still exist), and b) no bad actors squatting on typo names.
You can’t be more explicit than “build and install this folder I have”.
/shrug