Skip to content

Centralize all dependencies to the workspace#85

Merged
ivmarkov merged 1 commit into
esp-rs:mainfrom
sysgrok:workspace-deps
Jun 24, 2026
Merged

Centralize all dependencies to the workspace#85
ivmarkov merged 1 commit into
esp-rs:mainfrom
sysgrok:workspace-deps

Conversation

@ivmarkov

Copy link
Copy Markdown
Collaborator

Reasoning identical to esp-rs/mbedtls-rs#162

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR centralizes dependency declarations by moving crate versions (and some shared options) into the workspace-level Cargo.toml, then switching member crates to inherit them via workspace = true, aligning with the approach referenced in the linked mbedtls-rs PR.

Changes:

  • Added a [workspace.dependencies] section in the workspace Cargo.toml to define shared dependency versions/options.
  • Updated openthread crate dependencies to inherit from workspace dependencies.
  • Updated openthread-sys dependencies and build-dependencies to inherit from workspace dependencies (including mbedtls-rs-sys).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
Cargo.toml Introduces centralized workspace dependency definitions.
openthread/Cargo.toml Switches crate dependencies to workspace = true inheritance.
openthread-sys/Cargo.toml Switches (build-)dependencies to workspace = true inheritance, including mbedtls-rs-sys.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Cargo.toml
Comment thread openthread/Cargo.toml
@ivmarkov ivmarkov requested a review from bjoernQ June 24, 2026 13:50
@ivmarkov

Copy link
Copy Markdown
Collaborator Author

@bjoernQ Also ready for review.

@bjoernQ bjoernQ 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.

Thanks!

@ivmarkov ivmarkov merged commit 2465a7d into esp-rs:main Jun 24, 2026
6 checks passed
@ivmarkov ivmarkov deleted the workspace-deps branch June 26, 2026 07:20
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.

3 participants