Skip to content
index.ocx.sh

cargo-dist

latest 0.33.1_20261021

Shippable application packaging — plans, builds and publishes cross-platform release artifacts and installers

Unaffiliated mirror. cargo-dist is a project of Axo Developer Co and the axodotdev organization; this OCX package republishes upstream release binaries and is not endorsed by them. Upstream: github.com/axodotdev/cargo-dist ⁠ (opens in a new tab)

Versions · 16

click = copy identifier · right-click = more
(default)
15 more
+4
+2
+2
+2

README

cargo-dist

cargo-dist takes an application and produces a complete, reproducible set of release artifacts for every platform you target: platform-specific archives, checksums, a machine-readable dist-manifest.json, and the installers that fetch them — shell, PowerShell, Homebrew formula and npm wrapper. It plans the whole release up front, so what CI builds is decided before a single compiler runs.

The tool began life as a cargo subcommand and still publishes under the name cargo-dist, but the executable it installs is dist, and it is no longer Rust-only: a generic workspace hands dist any build-command you like, so Go, Zig, C and shell projects get the same artifact matrix, checksums and installers as a Cargo workspace does.

dist init writes the configuration and the release workflow; dist plan shows exactly which artifacts a release would produce (and, with --output-format=json, in a form other tools can consume); dist build runs a local build of them; dist host uploads. Because plan is pure computation it needs no toolchain, no network and no git repository — it is the fast way to answer "what would this release actually ship?".

What's included

  • dist — the packaging CLI. dist init to set up or update a project, dist plan to see the artifact matrix, dist build to produce it locally, dist manifest for the build manifest without building, dist linkage to report the dynamic libraries a built artifact pulls in, and dist host to publish.

The mirrored archives also carry upstream's README.md, CHANGELOG.md and both license files (LICENSE-MIT, LICENSE-APACHE) alongside the binary.

Links

Install

Platforms

Linux amd64arm64
macOS amd64arm64
Windows amd64

Metadata

registry
license
MIT OR Apache-2.0
revision
91dae7392843ed2bcd0de478be18e9bee1fc3a68
owners
@ocx-bot
latest
0.33.1_20261021
tags
16