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 syn to v2 #18

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Update syn to v2 #18

merged 1 commit into from
Mar 28, 2023

Conversation

daxpedda
Copy link
Contributor

This updates the syn dependency to v2.

The code got more simplified and MetaNameValue now supports taking a value that is not a string literal, so I added support to pass bare Paths and made it the default in the documentation.
To not introduce a breaking change I kept accepting a string as it is, including the tests.

The error messages are going to be a bit different, but functionally there should be no change.

@zesterer
Copy link
Owner

Aha, that's a very convenient change! Thanks.

@zesterer zesterer merged commit 55cc36c into zesterer:master Mar 28, 2023
@daxpedda
Copy link
Contributor Author

@zesterer would you mind releasing a new version with this change?

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.

None yet

2 participants