Releasing
September 17, 2026 ยท View on GitHub
The GitHub repository is gilljon/typesafe-ai-rs, and the package is named
typesafe-ai-rs (imported as typesafe_ai_rs).
For a registry release:
- Update the package version and confirm that version is unused on crates.io. For the first release, confirm the package name remains available.
- Authenticate locally with
cargo login, or configure a scopedCARGO_REGISTRY_TOKENsecret for the release workflow. Ensure the publishing account has a verified email address. Do not put tokens in repository files. - Run the checks in CI, including package verification. Check the parity notes against the pinned upstream versions and update the changelog.
- Run
cargo publish --dry-run, thencargo publish, or dispatch the Publish workflow from the reviewed main-branch commit with its matching version. - Verify the published package and docs.rs build. Create the matching Git tag and GitHub release, and update the README's alternative Git installation tag.
Publication uses a manually dispatched workflow, restricted to main, with formatting,
linting, tests, package verification, and a version confirmation before upload. The workflow
does not publish automatically on pushes or tags.