{"id":13566225,"url":"https://github.com/crate-ci/cargo-release","last_synced_at":"2025-05-12T13:26:52.135Z","repository":{"id":38452198,"uuid":"53496711","full_name":"crate-ci/cargo-release","owner":"crate-ci","description":"Cargo subcommand `release`: everything about releasing a rust crate.","archived":false,"fork":false,"pushed_at":"2025-05-07T11:25:19.000Z","size":2663,"stargazers_count":1419,"open_issues_count":56,"forks_count":115,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-12T07:02:01.577Z","etag":null,"topics":["cargo","cargo-subcommand","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crate-ci.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-03-09T12:40:39.000Z","updated_at":"2025-05-10T18:48:03.000Z","dependencies_parsed_at":"2023-02-12T07:31:32.450Z","dependency_job_id":"8d890f29-c2b1-42e0-9bfb-0b68d45c0189","html_url":"https://github.com/crate-ci/cargo-release","commit_stats":{"total_commits":1285,"total_committers":68,"mean_commits":"18.897058823529413","dds":"0.43891050583657587","last_synced_commit":"8d845ff580ff5122a6a5ff8e7bafa823de40a6ee"},"previous_names":["sunng87/cargo-release"],"tags_count":134,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate-ci%2Fcargo-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate-ci%2Fcargo-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate-ci%2Fcargo-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate-ci%2Fcargo-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crate-ci","download_url":"https://codeload.github.com/crate-ci/cargo-release/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253746926,"owners_count":21957656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cargo","cargo-subcommand","rust"],"created_at":"2024-08-01T13:02:04.877Z","updated_at":"2025-05-12T13:26:52.111Z","avatar_url":"https://github.com/crate-ci.png","language":"Rust","funding_links":[],"categories":["Rust","Development tools"],"sub_categories":["Build system"],"readme":"# cargo release\n\n\u003e Streamline your crate release process\n\n`cargo release` extends `cargo publish` with common release practices like\nvalidation, version management, tagging, and pushing.\nThe process is customizable but with defaults that should help you get up and running quickly.\n\nFeatures include:\n- Ensure you are in a good state for release, including:\n  - Right branch\n  - Up-to-date with remote\n  - Clean tree\n- Supports workspaces using cargo's native flags, like `--workspace`, `--exclude` and `--package`\n  - Updates dependent crates in workspace when changing version\n  - Change detection to help guide in what crates might not need a release\n  - Optionally share commits\n- Handles `cargo publish`, tagging, and pushing\n- Pre-release search and replace for custom version updates, including\n  - [Updating changelogs](docs/faq.md#maintaining-changelog)\n  - Update tags in `Dockerfile`s\n- Pre-release hook for extra customization, including\n  - [CHANGELOG generation](docs/faq.md#maintaining-changelog)\n\n## Install\n\nCurrent release: 0.25.18\n\n```console,ignore\n$ cargo install cargo-release\n```\n\n## Usage\n\n```console,ignore\n$ cargo release [level]\n\u003cdry-run output\u003e\n$ cargo release [level] --execute\n```\n\n* See the [reference](docs/reference.md) for more on `level`, other CLI\n  arguments, and configuration file format.\n* See also the [FAQ](docs/faq.md) for help in figuring out how to adapt\n  cargo-release to your workflow.\n\n### Prerequisite\n\n* Your project should be managed by git.\n\n### Dry run\n\nBy default, `cargo-release` runs in dry-run mode so you can safely run it and\nverify what it will do.\n- Increase the logging level with each additional `-v` to get more details\n- Speed up dry-run by skipping `cargo-publish`s verify step with `--no-verify`\n\nOnce you are ready, pass the `--execute` flag.\n\n## Related tools\n\n- [release-pr Action](https://github.com/cargo-bins/release-pr)\n- [cargo-smart-release](https://github.com/Byron/cargo-smart-release)\n- [cargo-set-version](https://github.com/killercup/cargo-edit)\n- [cargo-unleash](https://github.com/paritytech/cargo-unleash)\n- [release-plz](https://crates.io/crates/release-plz)\n- [cargo-workspaces](https://crates.io/crates/cargo-workspaces)\n\n## Semver Compatibility\n\ncargo-release's versioning tracks compatibility for the binaries, not the API.  We upload to\ncrates.io to distribute the binary.  If using this as a library, be sure to pin the version\nwith a `=` version requirement operator.\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual-licensed as above, without any additional terms or\nconditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrate-ci%2Fcargo-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrate-ci%2Fcargo-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrate-ci%2Fcargo-release/lists"}