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

Ignore num_no_build column of versions.csv #41

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Ignore num_no_build column of versions.csv #41

merged 1 commit into from
Oct 29, 2024

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Oct 29, 2024

The num_no_build column is identical to num but without build metadata. So if num="1.0.0+example" then num_no_build="1.0.0". In Rust code, there is no reason to deserialize the value of this column because it is easily reconstructed from num. It exists in the database only for the purpose of defining a unique constraint on (crate_id, num_no_build).

@dtolnay dtolnay merged commit 935d9b0 into master Oct 29, 2024
19 checks passed
@dtolnay dtolnay deleted the num_no_build branch October 29, 2024 03:40
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