woodchipper
woodchipper copied to clipboard
Bump pest_derive from 2.5.3 to 2.6.0
Bumps pest_derive from 2.5.3 to 2.6.0.
Release notes
Sourced from pest_derive's releases.
v2.6.0: node tags
What's Changed
- Add basic support for
node_tag
, iterator, and meta grammar by@tomtau
in pest-parser/pest#832- Fix #838 grammar error when only have
//!
,///
or//
, allow writing empty pest grammar. by@huacnlee
in pest-parser/pest#839- Implement
ExactSizeIterator
forPair
iterators by@MucTepDayH16
in pest-parser/pest#833- fuzz: decrease the call limit in the json fuzzer by
@tomtau
in pest-parser/pest#841New Contributors
@MucTepDayH16
made their first contribution in pest-parser/pest#833Full Changelog: https://github.com/pest-parser/pest/compare/v2.5.7...v2.6.0
Introducing node tags
pest v2.6.0's grammar includes a new (optional) feature for labelling parts of rules (based on this idea posted by
@oovm
: https://github.com/pest-parser/pest/discussions/550 ), e.g.:add = {#lhs = expr ~ "+" ~ #rhs = epxr}
This feature can help to distinguish tokens by labels instead of positions (which can help to reduce boilerplate code). You can read more about it here: https://pest.rs/book/grammars/syntax.html#tags
Warning: Semantic Versioning
Note that the node tag feature in 2.6.0 is a technically semver-breaking change even though it is a backwards-compatible / non-breaking change in the meta-grammar. There may be similar non-breaking changes to the meta-grammar between minor versions in the future. These non-breaking changes, however, may translate into semver-breaking changes due to the additional variants propagated from the generated
Rule
enum. This is a known issue and will be fixed in the future (e.g. by increasing MSRV and non_exhaustive annotations).v2.5.7
What's Changed
- Fixup lifetimes of PrattParser by
@matanui159
in pest-parser/pest#824- Update syn to v2 by
@CosmicHorrorDev
in pest-parser/pest#826- doc: add a link to awesome-pest by
@tomtau
in pest-parser/pest#828New Contributors
@matanui159
made their first contribution in pest-parser/pest#824@CosmicHorrorDev
made their first contribution in pest-parser/pest#826Full Changelog: https://github.com/pest-parser/pest/compare/v2.5.6...v2.5.7
v2.5.6
What's Changed
- Fix multiple grammars not always recompile issue #789 by
@huacnlee
in pest-parser/pest#790- Update benchmark result typo (with Pest v2.5.2 as base line). by
@huacnlee
in pest-parser/pest#794- Fix grammar
////
parsing error. by@huacnlee
in pest-parser/pest#818- doc: added a note regarding the no_std support by
@tomtau
in pest-parser/pest#819Full Changelog: https://github.com/pest-parser/pest/compare/v2.5.5...v2.5.6
pest_fmt and Visual Studio Code extension
Thanks to the great work of
@huacnlee
,@Jamalam360
and others, the new version of pest_fmt was published and the Visual Studio Code extension for pest was released on the Marketplace: https://marketplace.visualstudio.com/items?itemName=pest.pest-ide-toolsv2.5.5
What's Changed
... (truncated)
Commits
6355eae
fuzz: decrease the call limit in the json fuzzer (#841)20f0842
ImplementExactSizeIterator
forPair
iterators (#833)5a05e69
Fix #838 grammar error when only have//!
,///
or//
. (#839)76963f5
Add basic support fornode_tag
, iterator, and meta grammar (#832)f668fcc
doc: add a link to awesome-pest (#828)9e96a75
Update syn to v2 (#826)b98805c
Fixup lifetimes of PrattParser (#824)f294ead
doc: added a note regarding the no_std support (#819)ebb1ccd
fix: grammar////
parsing error. (fixes #817) (#818)18ca64f
Update benchmark result typo (with Pest v2.5.2 as base line). (#794)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)