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

fix bincode versioning #105

Merged
merged 3 commits into from
Mar 9, 2025
Merged

Conversation

mumbleskates
Copy link
Collaborator

@mumbleskates mumbleskates commented Mar 9, 2025

since bincode2 is actually updating now, we might as well clean up the versioning config a bit

previously we just hard-replaced the crate version with the version from the config, but we can instead use the version field in the config there as a semver version spec that constrains which versions of the crate each feature is talking about. this way each feature will know, for example, which major version of the bincode crate it is about, and the lookups can find the correct one in the cargo metadata info.

this should fix the readme which currently has a busted link and version name for bincode 2.0.0 because it's getting replaced incorrectly

Comment on lines +22 to +26
"version": "1"
},
"bincode": {
"name": "bincode",
"version": "2.0.0-rc"
"version": "2"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

these are actually semver specifications now

@mumbleskates mumbleskates merged commit df83a6a into djkoloski:master Mar 9, 2025
1 check 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