Skip to content

Per cargo docs, this should fix the circular dep when publishing strum #411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

Peternator7
Copy link
Owner

No description provided.

@Peternator7 Peternator7 merged commit f684dc4 into master Feb 8, 2025
0 of 2 checks passed
@martin-g
Copy link

@Peternator7 Could you please share the commands/script that you use to publish ?
Do you publish the whole workspace at once or one crate at a time ?
I maintain a similar project (one lib + one macros crates) and this circular dependency is really annoying.

@Peternator7
Copy link
Owner Author

Hey Martin, for strum, the solution was just to remove the "version" dev-dependency that strum_macros had on strum and only use the path dependency for local development.

Cargo only includes dev-dependencies with a "version" so that breaks the circular dependency.

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.

2 participants