-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Description
Verification
- This issue's title and/or description do not reference a single formula e.g.
brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.
Provide a detailed description of the proposed feature
Add support for installing cargo crates in Brewfile. Include the ability to specify cargo crates in the Brewfile.
For example:
brew "tree"
brew "node"
rust "cargo-expand"
The Brewfile already supports a variety of installation types, with mas, cask, vscode, and most recently go (#20645).
Tooling written in Rust and published to crates.io is available via the cargo install --locked <crate> command. It'd be convenient if the Brewfile bundled and ensures rust applications were installed too.
What is the motivation for the feature?
To expand the convenience of Brewfile so that it manages the bundling / setting up of more applications.
How will the feature be relevant to at least 90% of Homebrew users?
Rust is a common language for so much tooling. When moving between machines it's so helpful that Brewfile manages the programs a developer expects to have on hand, but any tooling that exists in the cargo/rust ecosystem cannot be installed via Brewfile.
What alternatives to the feature have been considered?
Not do this. Manage the installation of rust/cargo tools manually or via some other means.