Skip to content

fix: add version to injectorpp-macros dep and update publish workflow#127

Merged
mazong1123 merged 1 commit intomainfrom
fix/publish-workflow
Mar 27, 2026
Merged

fix: add version to injectorpp-macros dep and update publish workflow#127
mazong1123 merged 1 commit intomainfrom
fix/publish-workflow

Conversation

@mazong1123
Copy link
Copy Markdown
Collaborator

Fix crates.io publish for 0.5.1

The v0.5.1 publish fails because:

  1. Cargo.toml: injectorpp-macros path dependency missing version field — crates.io requires all path dependencies to also specify a version
  2. publish.yml: Only publishes injectorpp, but injectorpp-macros (added in PR Fix #73: automatic compile-time lifetime safety via proc macro #119) must be published first

Changes

  • Add version = "0.5.1" to injectorpp-macros dependency in Cargo.toml
  • Update publish.yml to publish injectorpp-macros first, wait 30s for index, then publish injectorpp

- Add version = '0.5.1' to injectorpp-macros dependency in Cargo.toml
  (crates.io requires path dependencies to also specify a version)
- Update publish.yml to publish injectorpp-macros first, wait for
  crates.io index, then publish injectorpp

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mazong1123 mazong1123 merged commit 98cee02 into main Mar 27, 2026
17 checks passed
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