Skip to content

fix(deps): drop stray semver build metadata from toml's version requirement - #54

Merged
githubrobbi merged 1 commit into
mainfrom
fix/toml-version-req-metadata
Jul 21, 2026
Merged

fix(deps): drop stray semver build metadata from toml's version requirement#54
githubrobbi merged 1 commit into
mainfrom
fix/toml-version-req-metadata

Conversation

@githubrobbi

@githubrobbi githubrobbi commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Found while auditing whether every gate this template preaches is actually clean on the template's own `main`. `cargo doc` was emitting a manifest warning across 3 tool crates: `version requirement `1.1.3+spec-1.1.0` for dependency `toml` includes semver metadata which will be ignored`.

Root cause: #51's dependency bump carried toml's semver build metadata (`+spec-1.1.0`, meaningful only for the exact resolved version in Cargo.lock) into the version requirement string in `[workspace.dependencies]`, where it's meaningless. `toml = "1.1.3"` is correct; Cargo.lock still resolves the exact `1.1.3+spec-1.1.0` build either way - no behavior change, purely removes a spurious warning.

Test plan

  • `cargo check --workspace --locked` - clean, no warning.
  • `RUSTDOCFLAGS='-Dwarnings' cargo doc --workspace --all-features --no-deps --document-private-items` (the real `just rustdoc` gate) - clean, no warning (previously showed the metadata warning 3x).
  • `lint-fast` + `lint-pre-push` gates passed locally.

…rement

PR #51's dependency bump carried "+spec-1.1.0" (toml's semver BUILD
metadata, meaningful only for the exact resolved version) into the
version REQUIREMENT string in [workspace.dependencies], where it's
meaningless - cargo ignores it and warns on every build/doc invocation
in the 3 tool crates that depend on toml directly ("version requirement
... includes semver metadata which will be ignored"). toml = "1.1.3" is
the correct requirement; Cargo.lock still resolves to the exact
1.1.3+spec-1.1.0 build either way.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@githubrobbi
githubrobbi added this pull request to the merge queue Jul 21, 2026
Merged via the queue into main with commit 1154545 Jul 21, 2026
22 checks passed
@githubrobbi
githubrobbi deleted the fix/toml-version-req-metadata branch July 21, 2026 00:44
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.

1 participant