-
Notifications
You must be signed in to change notification settings - Fork 34
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
Bump MSRV to 1.56 #32
Conversation
@d-e-s-o this would have the benefit of not requiring dependents to compile syn twice. |
Yes, makes sense. |
16f680f
to
aaf4668
Compare
This is the minimum version supported by syn 2.0 because it uses edition 2021 (earlier versions of cargo do not know about edition 2021). Add rust-version to Cargo.toml which is also supported since 1.56. Closes d-e-s-o#29.
This is green! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
I merged the patch with one small change. Thanks again! Let me know if you have other changes planned, or I'll cut a new relase in the coming days. |
Thanks! Nothing further planned. |
Ah, one other thought: we could improve the ergonomics of using the macro by extracting a |
Yeah, that has been discussed previously. It's definitely a possibility and has been on my TODO list's backlogged part for a while. If you have the cycles, feel free to go ahead. |
I think it's fine to cut another release should we introduce an additional crate into the mix, so I went ahead and cut |
This is the minimum version supported by syn 2.0 because it uses edition
2021 (earlier versions of cargo do not know about edition 2021).
Add rust-version to Cargo.toml which is also supported since 1.56.
Closes #29.