Closed tomtau closed 2 months ago
The overarching change involves transitioning from the pest
and pest_derive
libraries to their next major versions, pest3
and pest3_derive
, across various files. This upgrade encompasses updates to import statements, function calls, and parser types to align with the new versions, ensuring that the parsing functionality remains effective and up-to-date.
Files | Change Summary |
---|---|
derive/.../reader.rs ,derive/tests/grammar.rs ,derive/tests/sample.rs |
Updated imports from pest to pest3 and pest_derive to pest3_derive . |
derive/src/lib.rs |
Changed pest_generator to pest3_generator in derive_typed_parser function. |
derive/tests/json.rs |
Switched to pest3_derive and updated parser type to pest3::typed in the JSON module. |
derive/tests/sequence.rs ,derive/tests/skip.rs |
Moved from pest and pest_derive to pest3 and pest3_derive for parsing. |
generator/.../common.rs ,generator/.../generator.rs ,generator/.../module.rs |
Updated imports from pest_meta to pest3_meta and pest to pest3 . |
generator/src/types.rs ,generator/tests/generator.rs ,pest/tests/predefined_node.rs |
Updated references and imports to use pest3 and pest3_generator . |
🐇🎉
In the land of code where parsers play,
A leap topest3
we make today.
Frompest
andderive
, we now depart,
Withpest3
's embrace, a fresh start.
Through files and tests, changes we thread,
A rabbit's joy on upgrade's stead.
🎈🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
pest
topest3
across various files, enhancing token handling, parser derivation, and parsing logic.