Cargo subcommand release: everything about releasing a rust crate.
Find a file
renovate[bot] e5c64aa93d
chore(deps): Update Prek to v0.4.10 (#999)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [prek](https://redirect.github.com/j178/prek) | patch | `0.4.9` →
`0.4.10` |

---

### Release Notes

<details>
<summary>j178/prek (prek)</summary>

###
[`v0.4.10`](https://redirect.github.com/j178/prek/blob/HEAD/CHANGELOG.md#0410)

[Compare
Source](https://redirect.github.com/j178/prek/compare/v0.4.9...v0.4.10)

Released on 2026-07-16.

##### Enhancements

- Add PHP language support
([#&#8203;2314](https://redirect.github.com/j178/prek/pull/2314))
- Add freeze option to update settings
([#&#8203;2323](https://redirect.github.com/j178/prek/pull/2323))
- Add tag filters to update configuration
([#&#8203;2354](https://redirect.github.com/j178/prek/pull/2354))
- Identify 'mts' and 'cts' as TypeScript files
([#&#8203;2209](https://redirect.github.com/j178/prek/pull/2209))
- Publish Alpine Docker images
([#&#8203;2352](https://redirect.github.com/j178/prek/pull/2352))
- Support builtin and meta in try-repo
([#&#8203;2350](https://redirect.github.com/j178/prek/pull/2350))

##### Bug fixes

- Fix Python discovery order
([#&#8203;2348](https://redirect.github.com/j178/prek/pull/2348))
- Fix Windows progress rendering
([#&#8203;2328](https://redirect.github.com/j178/prek/pull/2328))
- Preserve configured repo values for updates
([#&#8203;2324](https://redirect.github.com/j178/prek/pull/2324))
- Scope synthetic `GIT_WORK_TREE` to git commands
([#&#8203;2356](https://redirect.github.com/j178/prek/pull/2356))

##### Documentation

- Expand common workflows guide
([#&#8203;2351](https://redirect.github.com/j178/prek/pull/2351))

##### Contributors

- [@&#8203;j178](https://redirect.github.com/j178)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - Every minute (`* * * * *`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/crate-ci/cargo-release).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-16 12:56:35 +00:00
.cargo
.github chore(deps): Update Prek to v0.4.10 (#999) 2026-07-16 12:56:35 +00:00
docs
src
tests
.clippy.toml
.gitignore
.pre-commit-config.yaml
Cargo.lock
Cargo.toml
CHANGELOG.md
committed.toml
CONTRIBUTING.md
deny.toml
hook.sh
LICENSE-APACHE
LICENSE-MIT
README.md
release.toml
typos.toml

cargo release

Streamline your crate release process

cargo release extends cargo publish with common release practices like validation, version management, tagging, and pushing. The process is customizable but with defaults that should help you get up and running quickly.

Features include:

  • Ensure you are in a good state for release, including:
    • Right branch
    • Up-to-date with remote
    • Clean tree
  • Supports workspaces using cargo's native flags, like --workspace, --exclude and --package
    • Updates dependent crates in workspace when changing version
    • Change detection to help guide in what crates might not need a release
    • Optionally share commits
  • Handles cargo publish, tagging, and pushing
  • Pre-release search and replace for custom version updates, including
  • Pre-release hook for extra customization, including

Install

Current release: 1.1.3

$ cargo install cargo-release

Usage

$ cargo release [level]
<dry-run output>
$ cargo release [level] --execute
  • See the reference for more on level, other CLI arguments, and configuration file format.
  • See also the FAQ for help in figuring out how to adapt cargo-release to your workflow.

Prerequisite

  • Your project should be managed by git.

Dry run

By default, cargo-release runs in dry-run mode so you can safely run it and verify what it will do.

  • Increase the logging level with each additional -v to get more details
  • Speed up dry-run by skipping cargo-publishs verify step with --no-verify

Once you are ready, pass the --execute flag.

Note: the packaging and verifying steps will list the current version and not the bumped version because cargo release delegates to cargo publish which does not know about the in-memory-only version bump (#890).

Semver Compatibility

cargo-release's versioning tracks compatibility for the binaries, not the API. We upload to crates.io to distribute the binary. If using this as a library, be sure to pin the version with a = version requirement operator.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.