| > cargo install marmite I'm not the only one (1) that believes this is wrong direction for cargo, and is abusing it's intent and purpose. If you want to distribute an application, there are lots of ways to do that. If it's a developer tools, for developers, `cargo install` might be suitable, sure... but I think there's a fair argument to be made that if you want a tool: git clone foo
cd foo
cargo install --path .
Is an explicit, safe and less error prone way of doing it....and one that doesn't walk us down the road of (see the linked thread) the obvious desire people are going to have sooner or later to cache binary builds instead of building locally, and turn `cargo install` into some kind of binary application distribution application or app store. If you don't believe me, read that thread, and the linked thread. [1] - https://github.com/rust-lang/cargo/issues/13994#issuecomment... |
'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!)