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

Make Dependency's source member the same type as Package's source member: Option<Source> #277

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

regexident
Copy link
Contributor

They have the exact same representation (i.e. bare string) in the JSON output of cargo metadata, so might as well use the same type in Metadata.

@oli-obk oli-obk closed this Dec 3, 2024
@oli-obk oli-obk reopened this Dec 3, 2024
src/dependency.rs Outdated Show resolved Hide resolved
@oli-obk
Copy link
Owner

oli-obk commented Dec 3, 2024

This will need a breaking change release 🤔

@regexident
Copy link
Contributor Author

This will need a breaking change release 🤔

It will. It's of no urgency though, so feel free to postpone merging at your discretion.
I just stumbled upon the inconsistency and figured you might appreciate a PR, nothing that's actively in the way.

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