在重复的源码构建减慢代理运行速度之前,从新鲜环境中的预构建二进制文件提供 Rust CLI 工具链,使用 cargo-binstall
Bootstrap Rust-based command-line tools in CI, containers, and ephemeral workspaces by preferring published binaries over repeated source builds.
Prerequisites
Rust and cargo-binstall, plus network access to published release binaries for target Rust CLIs
Installation
Use the upstream install or setup path that matches your environment:
- $ cargo binstall radio-sx128x@0.14.1-alpha.5
- To upgrade cargo-binstall, use cargo binstall cargo-binstall!
- brew install cargo-binstall
- cargo install cargo-binstall --locked
Basic usage or getting-started notes:
- console
- INFO resolve: Resolving package: 'radio-sx128x@=0.14.1-alpha.5'
- WARN The package radio-sx128x v0.14.1-alpha.5 (x86_64-unknown-linux-gnu) has been downloaded from github.com
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/cargo-bins/cargo-binstall/HEAD/README.md
Documentation
- https://github.com/1991513ccie-png/skills
```