# crate-ci/cargo-release

Cargo subcommand `release`: everything about releasing a rust crate.

Repository: https://github.com/crate-ci/cargo-release
Canonical: https://ross.abutalabs.com/products/cargo-release
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, cargo, cargo-subcommand
Last push: 2026-08-20T21:17:53+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 97, longevity 100
- inputs: {"age_days": 3829, "days_push": 13, "days_rel": 22, "gap_med": 27.5, "n_releases_24m": 17}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1588, forks 137 (observed 2026-08-28T04:05:07.980118+00:00)

## What it is
cargo-release is a Cargo subcommand that streamlines releasing Rust crates by extending `cargo publish` with validation, version bumping, tagging, and pushing. It supports Cargo workspaces, change detection, changelog updates, and customizable pre-release hooks, with a safe dry-run mode by default.

## Use cases
- publish a rust crate to crates.io with version bump and git tag
- release all crates in a cargo workspace with dependent version updates
- automate changelog version updates before publishing
- validate a repo is clean and on the right branch before releasing
- dry-run a release to preview publish, tag, and push steps
- run custom pre-release hooks like changelog generation

## When to choose
- you maintain Rust crates and want a repeatable release workflow
- you manage multi-crate workspaces needing coordinated version bumps
- you want validation, tagging, and pushing bundled with cargo publish

## When to avoid
- you release non-Rust packages
- you want fully automated releases driven by CI from merged PRs (consider release-plz)
- you need to use it as a stable library dependency (API compatibility is not tracked)

## Facets
- artifact type: cli-tool
- maturity: stable
- function: build-tool, developer-tools, version-control, ci-cd
- domain: developer-tools, version-control
- platform: cli, cross-platform, rust
- tags: cargo-subcommand, rust, release-automation, publishing, workspace-support, semver, automation, command-line

## Member repositories
- crate-ci/cargo-release (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:07.980118+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:55:00.065488+00:00, confidence not recorded.
  - readme: https://github.com/crate-ci/cargo-release (fetched 2026-08-28T04:05:07.980118+00:00, sha d6380de77450)
  - registry_crates: https://crates.io/api/v1/crates/cargo-release (fetched 2026-08-29T11:25:38.247364+00:00, sha d4cd0b18c8fa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
