Skip to content

chore: migrate embedded-services pins from v0.2.0 to main#22

Closed
dymk wants to merge 1 commit into
mainfrom
dymk/phase-35-dev-qemu-mctp-serial
Closed

chore: migrate embedded-services pins from v0.2.0 to main#22
dymk wants to merge 1 commit into
mainfrom
dymk/phase-35-dev-qemu-mctp-serial

Conversation

@dymk
Copy link
Copy Markdown
Contributor

@dymk dymk commented May 22, 2026

Summary

Migrate all platform Cargo.toml files to reference the main branch of embedded-services instead of v0.2.0. The APIs are identical since embedded-services PR #852 was merged to both branches, so no code changes are needed.

This ensures consistent trait resolution across all platforms and prepares for upcoming features that target the main branch.

Changes

  • platform-common/Cargo.toml: 11 branch refs updated
  • dev-imxrt/Cargo.toml: 1 branch ref updated
  • dev-mcxa/Cargo.toml: 1 branch ref updated
  • dev-npcx/Cargo.toml: 1 branch ref updated
  • All Cargo.lock files regenerated
  • All supply-chain/ (cargo-vet) files regenerated

Update all platform Cargo.toml files to reference the main branch
of embedded-services instead of v0.2.0. The APIs are identical since
PR #852 was merged to both branches, so no code changes are needed.

This ensures consistent trait resolution across all platforms and
prepares for upcoming features that target the main branch.
Copy link
Copy Markdown

Copilot AI left a comment

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 updates the embedded firmware platforms to consume OpenDevicePartnership/embedded-services from the main branch (instead of v0.2.0), and refreshes each platform’s lockfiles and cargo-vet metadata to match the new resolved dependency graph.

Changes:

  • Switched all embedded-services-sourced dependencies in platform-common to branch = "main".
  • Switched each platform’s uart-service dependency to branch = "main".
  • Regenerated all platform Cargo.lock files and all supply-chain/ (cargo-vet) files.

Reviewed changes

Copilot reviewed 9 out of 18 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
platform/platform-common/Cargo.toml Move embedded-services and related service crates from v0.2.0 to main.
platform/platform-common/Cargo.lock Lockfile refresh after switching to main (includes dependency graph changes).
platform/dev-qemu/Cargo.toml Move uart-service from v0.2.0 to main.
platform/dev-qemu/Cargo.lock Lockfile refresh for dev-qemu after switching to main.
platform/dev-qemu/supply-chain/config.toml cargo-vet config regeneration (exemptions updated).
platform/dev-qemu/supply-chain/imports.lock cargo-vet imports lock regeneration (audits/import sources updated).
platform/dev-npcx/Cargo.toml Move uart-service from v0.2.0 to main.
platform/dev-npcx/Cargo.lock Lockfile refresh for dev-npcx after switching to main.
platform/dev-npcx/supply-chain/config.toml cargo-vet config regeneration (exemptions updated).
platform/dev-npcx/supply-chain/imports.lock cargo-vet imports lock regeneration (audits/import sources updated).
platform/dev-mcxa/Cargo.toml Move uart-service from v0.2.0 to main.
platform/dev-mcxa/Cargo.lock Lockfile refresh for dev-mcxa after switching to main.
platform/dev-mcxa/supply-chain/config.toml cargo-vet config regeneration (exemptions updated).
platform/dev-mcxa/supply-chain/imports.lock cargo-vet imports lock regeneration (audits/import sources updated).
platform/dev-imxrt/Cargo.toml Move uart-service from v0.2.0 to main.
platform/dev-imxrt/Cargo.lock Lockfile refresh for dev-imxrt after switching to main.
platform/dev-imxrt/supply-chain/config.toml cargo-vet config regeneration (exemptions updated).
platform/dev-imxrt/supply-chain/imports.lock cargo-vet imports lock regeneration (audits/import sources updated).

Comment on lines +56 to 58
uart-service = { git = "https://github.com/OpenDevicePartnership/embedded-services", branch = "main", features = [
"defmt",
] }
"mimxrt685s",
] }
uart-service = { git = "https://github.com/OpenDevicePartnership/embedded-services", branch = "v0.2.0", features = [
uart-service = { git = "https://github.com/OpenDevicePartnership/embedded-services", branch = "main", features = [
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: Do we want to keep branch = part or just delete it entirely?

@dymk
Copy link
Copy Markdown
Contributor Author

dymk commented May 22, 2026

Recreating from fork branch.

@dymk dymk closed this May 22, 2026
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