This document explains how to perform the project's maintenance tasks.
Some repository settings, including branch protection and required approvals, are managed in the Rust team repo. See the repository schema for supported directives.
To generate all the artifacts above, one proceeds as follows:
git checkout -b release-<next-version>
- create a branch to make changes to the repository. Changes cannot be made to main
as it is protected.Cargo.toml
to update the package version to <next-version>
.gh pr create
) and get it approved and merged.main
branch and ensure that you are at the merged commit.cargo publish
to create a new release on crates.io
.git tag <next-version>
to remember the commit.git push --tags
to push the new tag.@
button. Save the release.