A brew command to install Rust crates.
$ brew install sl4m/rust-crate/brew-crate
Note: Users that don't have Rust installed, pass in the flag --with-rust
as part of the command above
$ brew crate exa
Updating crates.io index
Installing exa v0.9.0
...
Installing /usr/local/Cellar/crate-exa/2020-05-08/bin/exa
Installed package `exa v0.9.0` (executable `exa`)
$ brew uninstall crate-exa
For casual users or non-Rust developers that want to use Rust binaries.
Inspired by homebrew-gomod.