Repository navigation
docs(rust): say that publishOrder turns off the crate dependency sort - #787
Merged
Merged
Conversation
Setting cargo.publishOrder turns off the path-dependency sort, so crates it doesn't list are published in discovery order, not auto-sorted. The option's table row already said so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Standing release PR: #730 · v0.42.1 queued (4 packages) · open 6h 57m · ✅ ready to merge Release Preview — v0.42.0 → v0.42.1
These changes will be added to the release PR (#730) when merged: Changelogmonorepo 0.42.0 → 0.42.1
After merge — predicted release
Updated automatically by ReleaseKit |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 24, 2026
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
docs/rust.md's "Publish ordering" section said crates missing frompublish.cargo.publishOrderare "appended after in auto-sorted order". They aren't: settingpublishOrderturns off the path-dependency sort, and the crates it doesn't list follow in discovery order. The option's table row in the same file already says this.The note now says that setting
publishOrderturns off the sort, so you should list every crate in a path dependency, dependencies first. A crate left off the list could otherwise publish before its path dependency.Related Issue(s)
None; found while reviewing #765, whose per-package ordering matches batch mode here.
Type of Change
feat— New featurefix— Bug fixdocs— Documentation changerefactor— Code refactoringtest— Adding or updating testschore— Maintenance, dependencies, toolingScope
@releasekit/version@releasekit/notes@releasekit/publish@releasekit/release@releasekit/config@releasekit/coreChecklist
pnpm lint)pnpm test)pnpm typecheck)Testing Notes
Docs only. Checked against
orderCratesinpackages/publish/src/registry/cargo.ts: with an explicit order, the listed crates come first, then the rest in the order they were found, with no topological sort.🤖 Generated with Claude Code