CacheKit Docs

High-performance cache policies and supporting data structures.

View the Project on GitHub OxidizeLabs/cachekit

Releasing CacheKit

This document describes the end-to-end release process for the cachekit crate: versioning, validation, tagging, publishing, and documentation updates.

If you only need a quick set of checks, see Release checklist.

Release types

Stable releases

Pre-releases (alpha/beta/rc)

Before you start

1) Prepare a release PR

Make a branch/PR that does the release bookkeeping:

Suggested local validation for the PR:

cargo fmt
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-features --all-targets
RUSTDOCFLAGS='-Dwarnings' cargo doc --no-deps --all-features

2) Merge the release PR

Merge once CI passes. Releases should always be cut from a commit on main.

3) Tag the release

Create an annotated tag on main and push it:

git checkout main
git pull --ff-only
git tag -a vX.Y.Z -m "cachekit vX.Y.Z"
git push origin vX.Y.Z

4) Monitor the release workflow

On tag push, .github/workflows/release.yml runs:

Notes:

5) Post-release

Troubleshooting