rust-ci-deploy
Installation
SKILL.md
Rust CI/CD 與部署
適用場景
- 為 Rust 專案建立 GitHub Actions 或 GitLab CI 持續整合流程
- 需要跨平台交叉編譯(Linux / macOS / Windows / ARM)
- 使用 cargo-dist 自動產生跨平台 binary 並發布到 GitHub Releases
- 使用 cargo-release 管理版本號、changelog、git tag
- 建立 Docker multi-stage build 減小映像體積
- 設定 CI 快取加速編譯(Swatinem/rust-cache)
- 執行安全稽核(cargo-audit / cargo-deny)
- 測試 MSRV(最低支援 Rust 版本)相容性