fix(deps): update rust crate lalrpop-util to 0.23.0#112
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update rust crate lalrpop-util to 0.23.0#112renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Contributor
Author
|
5ee5040 to
f271393
Compare
f271393 to
4f6a564
Compare
4f6a564 to
5bc3ebf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.20.1→0.23.0Release Notes
lalrpop/lalrpop (lalrpop-util)
v0.23.1Compare Source
Bigfixes
breaking cross compile scenarios
v0.23.0Compare Source
Breaking Changes
previously exposed accidentally and did not change lalrpop functionality.
lexerfeature a default feature for lalrpop-util. In olderversions of rust, lalrpop-util would automatically use the
lexerfeaturewhen lalrpop did, but that is no longer the case, so this change keeps the
common case as the default. If you're using a custom lexer, you'll need
to make sure to disable default-features for both lalrpop and lalrpop-util.
Configuration.set_in_dir()can now no longer affect the output dir. Incertain configurations, setting in_dir using
set_in_dir()could actuallycause the generated parser to be put in the input directory rather than in
OUT_DIR. In most casesOUT_DIRmay be what you want anyways and shouldwork seamlessly. If you want to preserve the existing behavior of writing
to the source directory, you should do that explicitly with
set_out_dir()(or
use_cargo_dir_conventions())Configuration.set_in_dir()is now incompatible withprocess_current_dir(),and
process_dir(), because all of these functions set an input directorythemselves (either the current directory, or the argument). Previously,
these functions would all silently ignore the
set_in_dir()setting, exceptpossibly to change the output directory as mentioned above. Now these
functions are incompatible. If you get an error about this, remove
set_in_dir()from yourConfiguration, or use it withprocess(). You mayalso need to change your output directory as mentioned in the previous bullet.
Features
lalrpop_util::ParseErrornow implements theHashtrait(e.g.
<A> <B> => format!("<> <>")). It is an error if the number of formatstrings in the pattern do not match the number in the action code.
dealing with nonterminal definitions that return multiple values easier.
Changes
Internal Development features
using
cargo benchBugfixes
Locationtype previously required theCopytrait, which was undocumented and unintentional. This requirement has been
dropped.
no longer creates the missing directory.
v0.22.2Compare Source
Features
Bugfixes
v0.22.1Compare Source
Bugfixes
lints can trigger on action code.
v0.22.0Compare Source
Breaking changes
lexerfeature no longer implies thestdfeature. Nowlexerisusable in
no_stdenvironments. Inno_std, ParseError only implements theError trait in rust 1.81 or later (since core::error was stablized in 1.81).
Features
alternatives based on cargo features with
not(),any()andall()supportBugfixes
lalrpop_mod!()now handles imports correctlyv0.21.0Compare Source
Since the last release, a fair number of the commits have been focused on cleaning
up and improving LALRPOP's documentation. Shout out to Yudai Takada, George
White, and Dinu Blanovschi.
Features
out an error message and exit.
lalrpop::process_srcis now the recommended function to use inbuild.rsfiles. Previously the documentation incorrectly suggested that
lalrpop::process_rootlooked in./srcinstead of.Bugfixes
exception when trying to handle certain grammars has been resolved.
macro_expansion_limit.Compatibility note
Adding a limit to the number of times that LALRPOP will attempt to expand a
macro is technically a breaking change. However, the default limit of
200should be more than enough for the grammars we are currently aware of (which
almost always need a limit of less than 5). This limit is customizable via
Configuration::set_macro_expansion_limit.If you have a grammar that uses a significant amount of macro expansion steps,
we would be very interested in a PR that adds it to the test suite.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.