Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump peg from 0.6.3 to 0.8.2 #26

Merged
merged 2 commits into from
Oct 31, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 31, 2023

Bumps peg from 0.6.3 to 0.8.2.

Release notes

Sourced from peg's releases.

0.8.2

  • Allow expected!() to accept a &'static str expression, not just a literal. (#361)
  • Use BTreeSet`` in ExpectedSet`` for deterministic ordering. (#336)
  • Add enabled-by-default std feature that can be disabled to build on no-std + alloc (#336)
  • Fix regression with impl Trait return types (#319)

Contributors

@​stevefan1999-personal @​Flamenco @​tchajed @​kevinmehall

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

... (truncated)

Commits
  • 400acf6 0.8.2
  • a85e71b Allow expected!() to accept a &'static str expr, not just a literal
  • c870876 Merge pull request #357 from Flamenco/patch-1
  • 676f021 Update lib.rs
  • a3d2e47 Run compile-fail tests only on designated version
  • f62301b Merge pull request #337 from stevefan1999-personal/patch-std-to-core
  • e4440bc Don't try to test features that require nightly
  • 35a5241 Merge pull request #336 from stevefan1999-personal/patch-no-std-runtime
  • 182c795 Update trybuild for improved normalization
  • 96ad5e5 change some std types to core equivalent
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 31, 2023
@dependabot dependabot bot force-pushed the dependabot/cargo/peg-0.8.2 branch 2 times, most recently from 3cbb4b8 to 1abe514 Compare October 31, 2023 19:32
Bumps [peg](https://github.com/kevinmehall/rust-peg) from 0.6.3 to 0.8.2.
- [Release notes](https://github.com/kevinmehall/rust-peg/releases)
- [Commits](kevinmehall/rust-peg@0.6.3...0.8.2)

---
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 force-pushed the dependabot/cargo/peg-0.8.2 branch from 1abe514 to a685291 Compare October 31, 2023 19:34
@michaelmior michaelmior merged commit 8cb4653 into main Oct 31, 2023
4 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/peg-0.8.2 branch October 31, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant