Closed mcandre closed 1 year ago
Unfortunately, Cargo does not use its dev dependency section like NPM. Rather, it uses it like Maven/Gradle: Incredibly restricted.
There is a Cargo plugin to fill in some of the gaps associated with CLI tool management in Cargo dev dependencies:
https://crates.io/crates/cargo-run-bin
However, that would lengthen the basic tinyrick usage from tinyrick
to cargo bin run tinyrick
.
Which is awful.
One imagines setting up a shell alias or shell function to forcibly expand the same. But that deviates from Rust/Cargo workflows, breaks many Windows users, grows the tech stack, and involves additional linting and maintenance requirements.
So for the third time today, considering just porting accio to Rust. So be it.