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: https://github.com/pest-parser/pest/issues/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: