Skip to content
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

Use cargo read-manifest to get rust_version from core #2278

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

hallipr
Copy link
Member

@hallipr hallipr commented Mar 4, 2025

Because we have workspace path dependencies and direct version dependencies on azure_core in the repo, cargo metadata returns multiple packages named azure_core. We could use --no-deps to stop returning dependency packages, but then we still have to filter the results to azure_core. cargo read-manifest is already filtered to the target package and seems like a more direct way to get at specific package properties.

Copy link
Member

@analogrelay analogrelay left a comment

Choose a reason for hiding this comment

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

This works in my testing. I'll rebase my other PR on this when it lands :).

Thanks for the quick fix!

@hallipr hallipr merged commit 1c090fc into main Mar 4, 2025
23 checks passed
@hallipr hallipr deleted the users/pahallis/msrv branch March 4, 2025 22:19
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