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

feature-guard the new grammar features with "grammar-extras" #871

Merged
merged 3 commits into from
Jun 21, 2023

Conversation

tomtau
Copy link
Contributor

@tomtau tomtau commented Jun 20, 2023

this is to address potential semver issues due to Cargo dependency intermixing, see: #849

So, for existing users who depend on 2.X in the dependency tree, 2.7.0 pest-meta should work with 2.5.6 and below pest-generator etc. People who need the new grammar features can do so by specifying the grammar-extras feature in Cargo.toml:

...
pest_derive = {version = "2.7", features = ["grammar-extras"]}

this is to address potential semver issues due to Cargo dependency intermixing, see: pest-parser#849

So, for existing users who depend on 2.X in the dependency tree, 2.7.0 pest-meta should work with 2.5.6 and below pest-generator etc.
People who need the new grammar features can do so by specifying the `grammar-extras` feature in Cargo.toml:
```
...
pest_derive = {version = "2.7", features = ["grammar-extras"]}
```
@tomtau tomtau requested a review from a team as a code owner June 20, 2023 11:16
@tomtau tomtau requested review from NoahTheDuke and removed request for a team June 20, 2023 11:16
@tomtau tomtau merged commit 26863bc into pest-parser:master Jun 21, 2023
9 checks passed
@tomtau tomtau mentioned this pull request Jul 1, 2023
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