Skip to content

Use workspace versions - #249

Merged
nicoburns merged 3 commits into
servo:mainfrom
nicoburns:workspace-versions
Oct 4, 2025
Merged

Use workspace versions#249
nicoburns merged 3 commits into
servo:mainfrom
nicoburns:workspace-versions

Conversation

@nicoburns

Copy link
Copy Markdown
Collaborator

These changes are aimed at making version bumps slightly easier as the version numbers will mostly all be in one place.

Changes made:

  • The "main" version (currently 0.8.0) is defined in the workspace Cargo.toml and inherited by each package that uses it.
  • The dependencies between crates within this repo are defined at the workspace level and inherited by each package.

This means that the process to bump the "main" version would just be to replace all the instances of that version number in the workspace Cargo.toml.

For the crates which don't follow the "main" version, you would need to update the version in that crate's Cargo.toml and the workspace.dependencies section of the workspace Cargo.toml (which should hopefully be better than having to update each crate that depends on the crate with the updated version).

@nicoburns
nicoburns requested a review from Loirooriol October 4, 2025 12:45

@Loirooriol Loirooriol left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! It wasn't much convenient beforehand

Comment thread Cargo.toml Outdated
This is the version number that most of the Stylo packages follow
Signed-off-by: Nico Burns <nico@nicoburns.com>
@nicoburns
nicoburns added this pull request to the merge queue Oct 4, 2025
Merged via the queue into servo:main with commit 7a0c540 Oct 4, 2025
5 checks passed
@nicoburns
nicoburns deleted the workspace-versions branch October 4, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants