Skip to content

feat(rust-build)!: enforce --locked cargo commands and check doc warnings - #131

Merged
jbern0rd merged 1 commit into
mainfrom
feat/improve-rust-build
Jul 29, 2026
Merged

feat(rust-build)!: enforce --locked cargo commands and check doc warnings#131
jbern0rd merged 1 commit into
mainfrom
feat/improve-rust-build

Conversation

@jbern0rd

Copy link
Copy Markdown
Contributor

Add --locked to clippy/build/test/package/publish so builds fail fast
on an out-of-sync Cargo.lock instead of silently regenerating it, and
add a cargo doc step (RUSTDOCFLAGS=-D warnings) to catch broken doc
comments.

BREAKING CHANGE: consumers whose Cargo.lock is not committed or is
out of sync with Cargo.toml will now fail CI instead of having the
lockfile regenerated on the fly.

…ings

Add --locked to clippy/build/test/package/publish so builds fail fast
on an out-of-sync Cargo.lock instead of silently regenerating it, and
add a cargo doc step (RUSTDOCFLAGS=-D warnings) to catch broken doc
comments.

BREAKING CHANGE: consumers whose Cargo.lock is not committed or is
out of sync with Cargo.toml will now fail CI instead of having the
lockfile regenerated on the fly.
@jbern0rd jbern0rd self-assigned this Jul 29, 2026
@jbern0rd
jbern0rd merged commit 8b97a8c into main Jul 29, 2026
2 checks passed
@jbern0rd
jbern0rd deleted the feat/improve-rust-build branch July 29, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants