Skip to content

Update rust lockfile in Dependabot and remove unused Cargo junit profile - #216

Merged
python-templates-automerge[bot] merged 1 commit into
mainfrom
cargo-dependabot-nextest-junit
Nov 6, 2026
Merged

python-templates-automerge[bot] merged 1 commit into
mainfrom
cargo-dependabot-nextest-junit

Conversation

@timkpaine

Copy link
Copy Markdown
Member

Two fixes for the Rust templates.

The rust template keeps rust/ as a standalone crate with its own Cargo.lock, but Dependabot only watched /, so rust/Cargo.lock was only refreshed by cargo update during version bumps. The Cargo entry now lists both / and /rust. rustjswasm uses a root workspace whose lockfile already covers rust/, so it is unchanged.

[profile.test.junit] is not a Cargo setting. It made every build print warning: unused manifest key: profile.test.junit (once for rust, twice for rustjswasm). JUnit output for nextest is already configured by [profile.default.junit] in rust/.config/nextest.toml, so the key is removed from python/rust/rust/Cargo.toml.jinja and python/rustjswasm/Cargo.toml.jinja.

Generated both variants from main and from this branch with copier copy --vcs-ref, then ran cargo check in the root and in rust/. main printed the warning; this branch prints none, and neither has build errors. The generated dependabot.yaml parses.

The rust template keeps rust/ as a standalone crate with its own Cargo.lock, but Dependabot only watched the root lockfile, so rust/Cargo.lock changed only during version bumps. Watch both directories.

[profile.test.junit] is not a Cargo setting and made every build print "unused manifest key: profile.test.junit". nextest already writes JUnit output from rust/.config/nextest.toml.

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@timkpaine timkpaine added the tag: automerge Automatically merge this PR when status checks pass label Nov 6, 2026
@python-templates-automerge
python-templates-automerge Bot merged commit 5578b4f into main Nov 6, 2026
21 checks passed
@python-templates-automerge
python-templates-automerge Bot deleted the cargo-dependabot-nextest-junit branch November 6, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tag: automerge Automatically merge this PR when status checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant