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

Update to syn 2.0, and serde_derive_internals 0.29 #269

Closed
wants to merge 2 commits into from

Conversation

Jake-Shadle
Copy link

This updates schemars_derive to use syn 2.0 and serde_derive_internals as much of crate ecosystem has moved from syn 1.0 and it's best to avoid duplicate dependencies, especially in proc macros.

Resolves: #262

@Jake-Shadle
Copy link
Author

Would it be ok to bump the MSRV? 1.60 is almost a year old at this point.

@kyrias
Copy link

kyrias commented Mar 25, 2024

This is for one required to support the regex attribute in the newest version of the validator crate, because syn 1.0 can't parse path = *FOO, instead only supporting path = "FOO".

@GREsau
Copy link
Owner

GREsau commented Apr 28, 2024

@Jake-Shadle Thank you very much for your PR! I decided to merge in a different change (#281) which does the same package updates with fewer other code changes, but your PR was extremely useful to see what kind of changes needed to be made to handle the breaking changes

@GREsau GREsau closed this Apr 28, 2024
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.

Consider updating schemars_derive to use syn v2
3 participants