codespan
codespan copied to clipboard
Update peg requirement from 0.7 to 0.8
Updates the requirements on peg to permit the latest version.
Release notes
Sourced from peg's releases.
0.8.0
New Features
#[cache_left_rec]annotation to allow left recursion (#266)- Return matched token/character from
[ ]pattern expression (#234)Fixes
- Fix Rust grammar for arguments (#261) and type bounds (#279)
- Fix
tracefeature when usinginfix!{}(#277)- Fix
#[cache]with grammar lifetime parameters- Allow
clippy::redundant_closure_calllint in generated grammar (#258)Breaking changes
Most users will not require changes to upgrade from 0.7 to 0.8; these only affect advanced use cases.
- Allow only lifetime, not type, parameters at the grammar level. (type parameters were never properly supported)
- Add
'inputlifetime parameter toParseElemtrait so implementations can return tokens by reference. (#268)- Require
CopyonParseElem::Elementto better represent the expectation that they are cheap to copy/move.
Contributors:
@kevinmehall@zsol@neunenak@fgasperij
Commits
40a0049v0.8.0cd3044aMake[]pattern syntax return the matched token/character6838d5dRequire ParseElem::Element: Copyf09fc34Add 'input lifetime parameter to ParseElemad7561dDocument rule parameters4b7dcaaExpand Rust type and type param grammarcdeb247Test with --trace in GitHub Actions39edc8bFix #275 change that broke tracing when rule return type is not Copyf05f348Fix trace code ininfix!{}for change to mixed_site hygiene73e5579Merge pull request #275 from neunenak/refactors- 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)