macOS
brew install cargo-distlocal Homebrew formula metadata
安装
brew install cargo-distlocal Homebrew formula metadata
nix profile install nixpkgs#cargo-distnixpkgs package indexes · pkgs/by-name/ca/cargo-dist/package.nix · 来源: api.github.com
sudo pacman -S cargo-distArch Linux sync databases · cargo-dist · 来源: geo.mirror.pkgbuild.com
winget install --id axodotdev.dist -eWindows Package Manager source index · axodotdev.dist · 来源: cdn.winget.microsoft.com
概览
Tool for building final distributable artifacts and uploading them to an archive
历史
cargo-dist, now branded in its README as `dist`, is a release and binary-distribution tool from Axo that generates shippable artifacts, installers, release manifests, and CI workflows for Rust and other projects. It occupies the packaging layer between `cargo build` and public distribution channels such as GitHub Releases and package managers.
The cargo-dist crate appeared on crates.io in September 2022, and the GitHub repository was created in October 2022. Its early identity was tightly Rust-centered, but the official README now labels the project `dist (formerly known as cargo-dist)`, reflecting its wider release-engineering ambitions.
The README describes the project as a tool that plans, builds, hosts, publishes, and announces releases. A defining design choice is generated CI: `dist init` can generate release workflows that wait for version tags, build artifacts on multiple platforms, create or edit GitHub Releases, and attach generated release notes and artifacts.
The project also documents self-hosting: dist's own releases are produced through dist-generated release machinery, with cargo-release used for version and changelog mechanics.
cargo-dist grew as Rust CLI authors wanted repeatable binary releases without maintaining bespoke GitHub Actions matrices and installer scripts. The supplied package-manager facts show packaging across Homebrew, Debian/Ubuntu as `dist`, Nix, Arch Linux, and winget, indicating adoption beyond the Rust-only install path.
crates.io records more than one hundred thousand downloads, while the GitHub repository has thousands of stars. That combination of registry use, cross-platform package-manager presence, and generated CI support makes it one of the more visible Rust-origin release automation tools.
A typical user initializes configuration with `dist init`, commits the generated configuration and CI workflow, then publishes by pushing a version tag. dist plans the release, builds archives and installers, produces a machine-readable manifest, and can host artifacts on a GitHub Release.
Configuration can live in Cargo.toml, package.json, dist-workspace.toml, or dist.toml, which matches the project's move from a Cargo-only helper toward a general binary distribution tool.
cargo-dist matters to package nerds because it treats release artifacts as first-class package metadata: archives, installers, checksums, changelogs, manifests, hosting locations, and package-manager publishing become a repeatable graph instead of ad hoc release notes.
It also captures a common Rust ecosystem pattern: a tool starts as a Cargo subcommand, then expands into broader developer tooling while keeping Cargo workspace integration as a core path.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
Cargo.tomlpackage.jsondist-workspace.tomldist.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dist | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/axodotdev/cargo-dist
安装元数据
| 软件包键 | brew:cargo-dist |
|---|---|
| 版本 | 0.32.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cargo-dist |
| 主页 | https://axodotdev.github.io/cargo-dist/ |
| 仓库 | https://github.com/axodotdev/cargo-dist |
| 上游文档 | https://axodotdev.github.io/cargo-dist/book |
| 许可证 | Apache-2.0 OR MIT |
| 源码归档 | https://github.com/axodotdev/cargo-dist/archive/refs/tags/v0.32.0.tar.gz |
| 最后更新 | 2026-05-22T09:34:54Z |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-dist |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-dist
nix profile install nixpkgs#cargo-distcargo-dist 0.32.0-1
Shippable application packaging for Rust
https://github.com/axodotdev/cargo-dist
sudo pacman -S cargo-distdist 1:3.5-236-1.1
Tools for developing, maintaining and distributing software
sudo apt install distdist 1:3.5-236-1
Tools for developing, maintaining and distributing software
sudo apt install distaxodotdev.dist
winget install --id axodotdev.dist -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.