macOS
brew install cargo-run-binlocal Homebrew formula metadata
安装
brew install cargo-run-binlocal Homebrew formula metadata
sudo apk add cargo-run-binAlpine Linux edge package indexes · cargo-run-bin · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cargo-run-binnixpkgs package indexes · pkgs/by-name/ca/cargo-run-bin/package.nix · 来源: api.github.com
sudo pacman -S cargo-run-binArch Linux sync databases · cargo-run-bin · 来源: geo.mirror.pkgbuild.com
概览
Build, cache, and run binaries from Cargo.toml to avoid global installs
历史
cargo-run-bin is a Cargo-oriented tool for building, caching, and running project-scoped CLI binaries declared in Cargo.toml instead of installing those tools globally.
The GitHub repository was created in May 2021 and the first crates.io release followed later that month. The README positions the tool as similar to npm run and gomodrun, aimed at preventing team and CI tool-version drift.
crates.io metadata lists it as a Cargo plugin and command-line utility. Batch package facts show packaging across Homebrew, Alpine, Nix, and Arch, and the README also documents distro-package installation paths.
Users declare tools under [package.metadata.bin] or [workspace.metadata.bin] in Cargo.toml, then run cargo bin CRATE to install/cache and execute the requested binary. The README also documents cargo bin --install and cargo bin --sync-aliases for Cargo-extension aliases.
It gives Rust projects a lightweight, Cargo-native answer to pinned developer tooling: tool versions live with the project manifest, which makes onboarding and CI behavior less dependent on whatever happens to be globally installed.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
Cargo.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-bin | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/dustinblackman/cargo-run-bin
安装元数据
| 软件包键 | brew:cargo-run-bin |
|---|---|
| 版本 | 1.7.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cargo-run-bin |
| 主页 | https://dustinblackman.com/posts/why-does-everyone-install-crates-globally/ |
| 仓库 | https://github.com/dustinblackman/cargo-run-bin |
| 上游文档 | https://github.com/dustinblackman/cargo-run-bin#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/dustinblackman/cargo-run-bin/archive/refs/tags/v1.7.4.tar.gz |
| 最后更新 | 2026-06-15T10:20:11-04:00 |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-run-bin |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-run-bin
nix profile install nixpkgs#cargo-run-bincargo-run-bin 1.7.2-r0
Build, cache, and run CLI tools scoped in Cargo.toml
https://github.com/dustinblackman/cargo-run-bin
sudo apk add cargo-run-bincargo-run-bin-doc 1.7.2-r0
Build, cache, and run CLI tools scoped in Cargo.toml (documentation)
https://github.com/dustinblackman/cargo-run-bin
sudo apk add cargo-run-bin-doccargo-run-bin 1.7.4-2
Build, cache, and run CLI tools scoped in Cargo.toml
https://github.com/dustinblackman/cargo-run-bin
sudo pacman -S cargo-run-bin来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.