cargo-dist
Use this skill when the user wants to release a Rust binary — build cross-platform tarballs, shell installers, Homebrew formulas, and CI wiring with cargo-dist.
by javimosch★ 58 GitHub stars
Install cargo-dist in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
cargo-dist Plugin
cargo-dist (cargo dist) is the "it just works" release pipeline for Rust binaries:
dist init wires config into Cargo.toml plus a GitHub Actions release.yml; pushing
a tag then produces tarballs for every target, shell/powershell installers, Homebrew
formulas, npm wrappers, and checksums.
Commands
Setup & Build
cargo-dist project init— Initialize dist in the workspacecargo-dist release plan— Print the release plan (JSON)cargo-dist release build— Build artifacts locallycargo-dist ci generate— Regenerate CI/installerscargo-dist _ _— Passthrough (dist host,dist manifest,dist link)
Usage Examples
- "Set up release automation for this Rust CLI"
- "What will dist build for tag v1.2.3?"
- "Regenerate the release workflow after changing config"
- "Build release artifacts locally to test"
Installation
cargo install cargo-dist --locked
# or: brew install axodotdev/tap/dist
# or: mise use cargo-dist
Examples
# One-time setup (interactive)
dist init
# Dry-run the release without building
dist plan
# Build everything for the current tag/version
dist build
# Regenerate release.yml + installers after editing Cargo.toml
dist generate
Key Features
dist initauto-detects binaries, targets, CI provider, installers- Installers: shell script, powershell, Homebrew formula, npm package, MSI
dist planemits machine-readable JSON of the entire releasedist manifestregenerates the release manifest without rebuilding
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the cargo-dist skill do?
Use this skill when the user wants to release a Rust binary — build cross-platform tarballs, shell installers, Homebrew formulas, and CI wiring with cargo-dist.
How do I install the cargo-dist skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the cargo-dist skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…