Command Palette

Search for a command to run...

Back to skills
skill № 33671

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.

FreeNo executable scripts
javimoschby 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
Sign up freeI already have an account

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 workspace
  • cargo-dist release plan — Print the release plan (JSON)
  • cargo-dist release build — Build artifacts locally
  • cargo-dist ci generate — Regenerate CI/installers
  • cargo-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 init auto-detects binaries, targets, CI provider, installers
  • Installers: shell script, powershell, Homebrew formula, npm package, MSI
  • dist plan emits machine-readable JSON of the entire release
  • dist manifest regenerates 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

Compare cargo-dist with