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

Remove version from required cargo package fields #3522

Merged

Conversation

faern
Copy link
Contributor

@faern faern commented Jan 16, 2024

Since Rust 1.75.0 the version field is optional. It defaults to 0.0.0 now. But schemastore still lists it as a required field, giving me errors in my IDE schema evaluation. This PR aims to fix that.

https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-175-2023-12-28

This fixes tamasfe/taplo#530

Copy link
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

@madskristensen madskristensen merged commit 0ef340e into SchemaStore:master Jan 16, 2024
4 checks passed
@madskristensen
Copy link
Contributor

Thanks

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.

Allow leaving version field out from [package]
2 participants