jcornaz / beancount-parser

A beancount file parser library for rust
The Unlicense
21 stars 7 forks source link

fix(deps): update rust crate pest to 2.6 - autoclosed #35

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
pest (source) dependencies minor 2.5 -> 2.6

Release Notes

pest-parser/pest ### [`v2.6.0`](https://togithub.com/pest-parser/pest/releases/tag/v2.6.0): : node tags [Compare Source](https://togithub.com/pest-parser/pest/compare/v2.5.7...v2.6.0) #### What's Changed - Add basic support for `node_tag`, iterator, and meta grammar by [@​tomtau](https://togithub.com/tomtau) in [https://github.com/pest-parser/pest/pull/832](https://togithub.com/pest-parser/pest/pull/832) - Fix [#​838](https://togithub.com/pest-parser/pest/issues/838) grammar error when only have `//!`, `///` or `//`, allow writing empty pest grammar. by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/839](https://togithub.com/pest-parser/pest/pull/839) - Implement `ExactSizeIterator` for `Pair` iterators by [@​MucTepDayH16](https://togithub.com/MucTepDayH16) in [https://github.com/pest-parser/pest/pull/833](https://togithub.com/pest-parser/pest/pull/833) - fuzz: decrease the call limit in the json fuzzer by [@​tomtau](https://togithub.com/tomtau) in [https://github.com/pest-parser/pest/pull/841](https://togithub.com/pest-parser/pest/pull/841) #### New Contributors - [@​MucTepDayH16](https://togithub.com/MucTepDayH16) made their first contribution in [https://github.com/pest-parser/pest/pull/833](https://togithub.com/pest-parser/pest/pull/833) **Full 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://togithub.com/oovm) : [https://github.com/pest-parser/pest/discussions/550](https://togithub.com/pest-parser/pest/discussions/550) ), e.g.: ```pest 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`](https://togithub.com/pest-parser/pest/releases/tag/v2.5.7) [Compare Source](https://togithub.com/pest-parser/pest/compare/v2.5.6...v2.5.7) #### What's Changed - Fixup lifetimes of PrattParser by [@​matanui159](https://togithub.com/matanui159) in [https://github.com/pest-parser/pest/pull/824](https://togithub.com/pest-parser/pest/pull/824) - Update syn to v2 by [@​CosmicHorrorDev](https://togithub.com/CosmicHorrorDev) in [https://github.com/pest-parser/pest/pull/826](https://togithub.com/pest-parser/pest/pull/826) - doc: add a link to awesome-pest by [@​tomtau](https://togithub.com/tomtau) in [https://github.com/pest-parser/pest/pull/828](https://togithub.com/pest-parser/pest/pull/828) #### New Contributors - [@​matanui159](https://togithub.com/matanui159) made their first contribution in [https://github.com/pest-parser/pest/pull/824](https://togithub.com/pest-parser/pest/pull/824) - [@​CosmicHorrorDev](https://togithub.com/CosmicHorrorDev) made their first contribution in [https://github.com/pest-parser/pest/pull/826](https://togithub.com/pest-parser/pest/pull/826) **Full Changelog**: https://github.com/pest-parser/pest/compare/v2.5.6...v2.5.7 ### [`v2.5.6`](https://togithub.com/pest-parser/pest/releases/tag/v2.5.6) [Compare Source](https://togithub.com/pest-parser/pest/compare/v2.5.5...v2.5.6) #### What's Changed - Fix multiple grammars not always recompile issue [#​789](https://togithub.com/pest-parser/pest/issues/789) by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/790](https://togithub.com/pest-parser/pest/pull/790) - Update benchmark result typo (with Pest v2.5.2 as base line). by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/794](https://togithub.com/pest-parser/pest/pull/794) - Fix grammar `////` parsing error. by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/818](https://togithub.com/pest-parser/pest/pull/818) - doc: added a note regarding the no_std support by [@​tomtau](https://togithub.com/tomtau) in [https://github.com/pest-parser/pest/pull/819](https://togithub.com/pest-parser/pest/pull/819) **Full 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](https://togithub.com/huacnlee) , [@​Jamalam360](https://togithub.com/Jamalam360) and others, the new version of [pest_fmt](https://crates.io/crates/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-tools ### [`v2.5.5`](https://togithub.com/pest-parser/pest/releases/tag/v2.5.5) [Compare Source](https://togithub.com/pest-parser/pest/compare/v2.5.4...v2.5.5) #### What's Changed - fix: typo in pest_debugger by [@​Jamalam360](https://togithub.com/Jamalam360) in [https://github.com/pest-parser/pest/pull/780](https://togithub.com/pest-parser/pest/pull/780) - Feature: Simple update checker for pest_debugger by [@​Jamalam360](https://togithub.com/Jamalam360) in [https://github.com/pest-parser/pest/pull/779](https://togithub.com/pest-parser/pest/pull/779) - Update validator for ignore `Rule::line_doc` for fix [#​781](https://togithub.com/pest-parser/pest/issues/781) "already defined" error. by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/782](https://togithub.com/pest-parser/pest/pull/782) - Add `LineIndex` instead of `Pairs::move_cursor` for improve `Pairs::next` and `Pair::line_col` performance. by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/785](https://togithub.com/pest-parser/pest/pull/785) - chore: added docs for semver changes in grammar + remove fast-col-line by [@​tomtau](https://togithub.com/tomtau) in [https://github.com/pest-parser/pest/pull/787](https://togithub.com/pest-parser/pest/pull/787) #### New Contributors - [@​Jamalam360](https://togithub.com/Jamalam360) made their first contribution in [https://github.com/pest-parser/pest/pull/780](https://togithub.com/pest-parser/pest/pull/780) **Full Changelog**: https://github.com/pest-parser/pest/compare/v2.5.4...v2.5.5 #### Warning: Semantic Versioning The "fast-col-line" feature was removed, because it's superseded by the `line_col` method on Pairs (which has a better or similar performance): [https://github.com/pest-parser/pest/pull/785#issuecomment-1413604569](https://togithub.com/pest-parser/pest/pull/785#issuecomment-1413604569) Note that the rustdoc support in 2.5.4: [https://github.com/pest-parser/pest/pull/765](https://togithub.com/pest-parser/pest/pull/765) was a semver-breaking change even though it was 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.4`](https://togithub.com/pest-parser/pest/releases/tag/v2.5.4) [Compare Source](https://togithub.com/pest-parser/pest/compare/v2.5.3...v2.5.4) #### What's Changed - Fix incorrect `col` calculate for `pair.line_col` method, and add integration test for cover it. by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/768](https://togithub.com/pest-parser/pest/pull/768) - CI use Rust 1.62.0 for fix rustyline 10.1.0 `#[default]` compile error. by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/770](https://togithub.com/pest-parser/pest/pull/770) - Add to support `///` and `//!` syntax for add doc comment for rules. by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/765](https://togithub.com/pest-parser/pest/pull/765) - doc: added doc comments to the meta-grammar by [@​tomtau](https://togithub.com/tomtau) in [https://github.com/pest-parser/pest/pull/774](https://togithub.com/pest-parser/pest/pull/774) **Full Changelog**: https://github.com/pest-parser/pest/compare/v2.5.3...v2.5.4 ### [`v2.5.3`](https://togithub.com/pest-parser/pest/releases/tag/v2.5.3) [Compare Source](https://togithub.com/pest-parser/pest/compare/v2.5.2...v2.5.3) #### What's Changed - Improve line, col calculate performance by use move cursor on Pairs Iterator. by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/754](https://togithub.com/pest-parser/pest/pull/754) - Add to support load multiple grammars for derive generator. by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/758](https://togithub.com/pest-parser/pest/pull/758) - [#​763](https://togithub.com/pest-parser/pest/issues/763) Switches SHA1 for SHA2 by [@​jeramyRR](https://togithub.com/jeramyRR) in [https://github.com/pest-parser/pest/pull/764](https://togithub.com/pest-parser/pest/pull/764) - fix: restrict the factorizer case to only atomic and compoundatomic rules by [@​tomtau](https://togithub.com/tomtau) in [https://github.com/pest-parser/pest/pull/766](https://togithub.com/pest-parser/pest/pull/766) #### New Contributors - [@​jeramyRR](https://togithub.com/jeramyRR) made their first contribution in [https://github.com/pest-parser/pest/pull/764](https://togithub.com/pest-parser/pest/pull/764) **Full Changelog**: https://github.com/pest-parser/pest/compare/v2.5.2...v2.5.3 ### [`v2.5.2`](https://togithub.com/pest-parser/pest/releases/tag/v2.5.2) [Compare Source](https://togithub.com/pest-parser/pest/compare/v2.5.1...v2.5.2) #### What's Changed - Allow use of rust keywords as pest rules by [@​DvvCz](https://togithub.com/DvvCz) in [https://github.com/pest-parser/pest/pull/750](https://togithub.com/pest-parser/pest/pull/750) - Add Unicode Script into built-in rules. by [@​huacnlee](https://togithub.com/huacnlee) in [https://github.com/pest-parser/pest/pull/751](https://togithub.com/pest-parser/pest/pull/751) #### New Contributors - [@​DvvCz](https://togithub.com/DvvCz) made their first contribution in [https://github.com/pest-parser/pest/pull/750](https://togithub.com/pest-parser/pest/pull/750) **Full Changelog**: https://github.com/pest-parser/pest/compare/v2.5.1...v2.5.2 ### Happy Holidays and Best Wishes for 2023! β˜ƒοΈπŸŽ„ πŸŽ† ### [`v2.5.1`](https://togithub.com/pest-parser/pest/releases/tag/v2.5.1) [Compare Source](https://togithub.com/pest-parser/pest/compare/v2.5.0...v2.5.1) #### What's Changed - Fix unexpected argument panic in `pest_debugger` by [@​dffdff2423](https://togithub.com/dffdff2423) in [https://github.com/pest-parser/pest/pull/740](https://togithub.com/pest-parser/pest/pull/740) - ci: add pest_debugger to semver checks by [@​tomtau](https://togithub.com/tomtau) in [https://github.com/pest-parser/pest/pull/741](https://togithub.com/pest-parser/pest/pull/741) - doc: fix tables of (non-)terminals by [@​birkenfeld](https://togithub.com/birkenfeld) in [https://github.com/pest-parser/pest/pull/743](https://togithub.com/pest-parser/pest/pull/743) - doc: explain that matching is greedy without backtracking by [@​birkenfeld](https://togithub.com/birkenfeld) in [https://github.com/pest-parser/pest/pull/744](https://togithub.com/pest-parser/pest/pull/744) - perf: add a faster `skip_until` using SIMD memchr by [@​tomtau](https://togithub.com/tomtau) in [https://github.com/pest-parser/pest/pull/745](https://togithub.com/pest-parser/pest/pull/745) it can be enabled by using the `memchr` feature. #### New Contributors - [@​dffdff2423](https://togithub.com/dffdff2423) made their first contribution in [https://github.com/pest-parser/pest/pull/740](https://togithub.com/pest-parser/pest/pull/740) **Full Changelog**: https://github.com/pest-parser/pest/compare/v2.5.0...v2.5.1

Configuration

πŸ“… Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.