Skip to content
This repository was archived by the owner on Apr 21, 2023. It is now read-only.

chore(deps): bump peg from 0.6.3 to 0.8.1 #54

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 26, 2022

Bumps peg from 0.6.3 to 0.8.1.

Release notes

Sourced from peg's releases.

0.8.1

Fixes

  • Fix type inference for generic argument in rule's return position (#317)
  • Fix parsing of &'a mut T in type grammar (#304)

Improvements

  • Made LineCol Copy (#298)

Contributors

@​kevinmehall @​plaflamme @​zsol @​Kile-Asmussen @​kw217

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 trace feature when using infix!{} (#277)
  • Fix #[cache] with grammar lifetime parameters
  • Allow clippy::redundant_closure_call lint 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 'input lifetime parameter to ParseElem trait so implementations can return tokens by reference. (#268)
  • Require Copy on ParseElem::Element to better represent the expectation that they are cheap to copy/move.

Contributors: @​kevinmehall @​zsol @​neunenak @​fgasperij

0.7.0

New features

  • Significantly improved compile-time error messages for invalid grammars
  • Support [MyToken(x)] syntax for capturing variables from pattern expressions (#245)
  • Restore support for [^ ] inverted pattern syntax
  • Add #[no_eof] pub rule() = ... syntax to allow matching a prefix of the input rather than reporting a parse error if the rule does not reach end-of-file (#233)
  • Allow rule _ = without parentheses when defining special underscore rule (#243)
  • Add grammar-level type and lifetime parameters (#254)
  • Compile-time check for repeat expressions that infinite-loop without consuming input (#210)
  • Implement PartialEq, PartialOrd, Eq, Ord, Debug, Hash for RuleResult (#217)

Fixes

  • Extend detection of infinite-loop left recursion to check inside precedence!() (#238)
  • Wrap user-supplied code in immediately-invoked closure so that return and ? behave as expected (#246)

... (truncated)

Commits
  • 4a99950 0.8.1
  • 74c48c4 Merge pull request #317 from plaflamme/fix-type-argument-return-position
  • 4cf66e7 chore: update generated grammar.rs file
  • a3ed032 fix: specify return type to help type inferrence
  • 8739850 test: add test to demonstrate issue
  • c0e882b Update trybuild output for rustc error message change
  • 24482eb Fix parsing of &'a mut T in type grammar
  • 056b5ca Merge pull request #307 from zsol/clippy
  • 985a28a fix clippy warnings
  • 00b6992 Merge pull request #300 from kw217/add-docs
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [peg](https://github.com/kevinmehall/rust-peg) from 0.6.3 to 0.8.1.
- [Release notes](https://github.com/kevinmehall/rust-peg/releases)
- [Commits](kevinmehall/rust-peg@0.6.3...0.8.1)

---
updated-dependencies:
- dependency-name: peg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added automatic This issue or PR has been created automatically dependencies This issue or PR is related to dependency management labels Sep 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automatic This issue or PR has been created automatically dependencies This issue or PR is related to dependency management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants