Updates the requirements on nom to permit the latest version.
Changelog
*Sourced from [nom's changelog](https://github.com/Geal/nom/blob/master/CHANGELOG.md).*
> # Change Log
>
> ## [Unreleased][unreleased]
>
> ### Thanks
>
> ### Added
>
> ### Fixed
>
> ## 5.0.0 - 2019-06-24
>
> This version comes with a complete rewrite of nom internals to use functions as a base
> for parsers, instead of macros. Macros have been updated to use functions under
> the hood, so that most existing parsers will work directly or require minimal changes.
>
> The `CompleteByteSlice` and `CompleteStr` input types were removed. To get different
> behaviour related to streaming or complete input, there are different versions of some
> parsers in different submodules, like `nom::character::streaming::alpha0` and
> `nom::character::complete::alpha0`.
>
> The `verbose-errors` feature is gone, now the error type is decided through a generic
> bound. To get equivalent behaviour to `verbose-errors`, check out `nom::error::VerboseError`
>
> ### Thanks
>
> - [@lowenheim](https://github.com/lowenheim) helped in refactoring and error management
> - [@Keruspe](https://github.com/Keruspe) helped in refactoring and fixing tests
> - [@pingiun](https://github.com/pingiun), [@Songbird0](https://github.com/Songbird0), [@jeremystucki](https://github.com/jeremystucki), [@BeatButton](https://github.com/BeatButton), [@NamsooCho](https://github.com/NamsooCho), [@Waelwindows](https://github.com/Waelwindows), [@rbtcollins](https://github.com/rbtcollins), [@MarkMcCaskey](https://github.com/MarkMcCaskey) for a lot of help in rewriting the documentation and adding code examples
> - [@GuillaumeGomez](https://github.com/GuillaumeGomez) for documentation rewriting and checking
> - [@iosmanthus](https://github.com/iosmanthus) for bug fixes
> - [@lo48576](https://github.com/lo48576) for error management fixes
> - [@vaffeine](https://github.com/vaffeine) for macros visibility fixes
> - [@webholik](https://github.com/webholik) and [@Havvy](https://github.com/Havvy) for `escaped` and `escaped_transform` fixes
> - [@proman21](https://github.com/proman21) for help on porting bits parsers
>
> ### Added
>
> - the `VerboseError` type accumulates position info and error codes, and can generate a trace with span information
> - the `lexical-core` crate is now used by default (through the `lexical` compilation feature) to parse floats from text
> - documentation and code examples for all functions and macros
>
> ### Changed
>
> - nom now uses functions instead of macros to generate parsers
> - macros now use the functions under the hood
> - the minimal Rust version is now 1.31
> - the verify combinator's condition function now takes its argument by reference
> - `cond` will now return the error of the parser instead of None
> - `alpha*`, `digit*`, `hex_digit*`, `alphanumeric*` now recognize only ASCII characters
> ... (truncated)
Commits
- [`c326e07`](https://github.com/Geal/nom/commit/c326e077b83c62f81b717c80a281cb453cb914e7) bump version to 5.0.1
- [`c70065a`](https://github.com/Geal/nom/commit/c70065a1a37283881f180b2f0b1a486c9e4fe9a6) fix error type inference in value!
- [`e913ebe`](https://github.com/Geal/nom/commit/e913ebe2e2119ebdec707ffb2b18eb9667024fff) fix peek reimplementation
- [`eef8080`](https://github.com/Geal/nom/commit/eef808017b6a5791ff806ec4edc5b2772ec6d6c5) fix return type in example
- [`954114a`](https://github.com/Geal/nom/commit/954114af1b9949aa7a7972d6de155f2032781e71) Add missing `use` statement to "Code organization" parser example
- [`ab8277d`](https://github.com/Geal/nom/commit/ab8277d536d80a985321255d79ecae57c8c740e9) add some documentation about the infinite loop check in many0 and many1
- [`0b15ccd`](https://github.com/Geal/nom/commit/0b15ccde8de8248e8eda6858ef296c10d75d61a0) relax trait requirements on cut
- [`2713fd8`](https://github.com/Geal/nom/commit/2713fd8d260511945483f2bb951eb32e6ea95743) deactivate cfg(doctest)
- [`092df74`](https://github.com/Geal/nom/commit/092df74d3565590f0cd414c1ec2e60b55535d0be) Fix meta variable misuse
- [`14d2279`](https://github.com/Geal/nom/commit/14d2279e1475340f3fede0cd3ed71813500c0fba) Fix custom_input_types.md
- Additional commits viewable in [compare view](https://github.com/Geal/nom/compare/4.0.0...5.0.1)
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.
If all status checks pass Dependabot will automatically merge this pull request.
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Updates the requirements on nom to permit the latest version.
Changelog
*Sourced from [nom's changelog](https://github.com/Geal/nom/blob/master/CHANGELOG.md).* > # Change Log > > ## [Unreleased][unreleased] > > ### Thanks > > ### Added > > ### Fixed > > ## 5.0.0 - 2019-06-24 > > This version comes with a complete rewrite of nom internals to use functions as a base > for parsers, instead of macros. Macros have been updated to use functions under > the hood, so that most existing parsers will work directly or require minimal changes. > > The `CompleteByteSlice` and `CompleteStr` input types were removed. To get different > behaviour related to streaming or complete input, there are different versions of some > parsers in different submodules, like `nom::character::streaming::alpha0` and > `nom::character::complete::alpha0`. > > The `verbose-errors` feature is gone, now the error type is decided through a generic > bound. To get equivalent behaviour to `verbose-errors`, check out `nom::error::VerboseError` > > ### Thanks > > - [@lowenheim](https://github.com/lowenheim) helped in refactoring and error management > - [@Keruspe](https://github.com/Keruspe) helped in refactoring and fixing tests > - [@pingiun](https://github.com/pingiun), [@Songbird0](https://github.com/Songbird0), [@jeremystucki](https://github.com/jeremystucki), [@BeatButton](https://github.com/BeatButton), [@NamsooCho](https://github.com/NamsooCho), [@Waelwindows](https://github.com/Waelwindows), [@rbtcollins](https://github.com/rbtcollins), [@MarkMcCaskey](https://github.com/MarkMcCaskey) for a lot of help in rewriting the documentation and adding code examples > - [@GuillaumeGomez](https://github.com/GuillaumeGomez) for documentation rewriting and checking > - [@iosmanthus](https://github.com/iosmanthus) for bug fixes > - [@lo48576](https://github.com/lo48576) for error management fixes > - [@vaffeine](https://github.com/vaffeine) for macros visibility fixes > - [@webholik](https://github.com/webholik) and [@Havvy](https://github.com/Havvy) for `escaped` and `escaped_transform` fixes > - [@proman21](https://github.com/proman21) for help on porting bits parsers > > ### Added > > - the `VerboseError` type accumulates position info and error codes, and can generate a trace with span information > - the `lexical-core` crate is now used by default (through the `lexical` compilation feature) to parse floats from text > - documentation and code examples for all functions and macros > > ### Changed > > - nom now uses functions instead of macros to generate parsers > - macros now use the functions under the hood > - the minimal Rust version is now 1.31 > - the verify combinator's condition function now takes its argument by reference > - `cond` will now return the error of the parser instead of None > - `alpha*`, `digit*`, `hex_digit*`, `alphanumeric*` now recognize only ASCII characters > ... (truncated)Commits
- [`c326e07`](https://github.com/Geal/nom/commit/c326e077b83c62f81b717c80a281cb453cb914e7) bump version to 5.0.1 - [`c70065a`](https://github.com/Geal/nom/commit/c70065a1a37283881f180b2f0b1a486c9e4fe9a6) fix error type inference in value! - [`e913ebe`](https://github.com/Geal/nom/commit/e913ebe2e2119ebdec707ffb2b18eb9667024fff) fix peek reimplementation - [`eef8080`](https://github.com/Geal/nom/commit/eef808017b6a5791ff806ec4edc5b2772ec6d6c5) fix return type in example - [`954114a`](https://github.com/Geal/nom/commit/954114af1b9949aa7a7972d6de155f2032781e71) Add missing `use` statement to "Code organization" parser example - [`ab8277d`](https://github.com/Geal/nom/commit/ab8277d536d80a985321255d79ecae57c8c740e9) add some documentation about the infinite loop check in many0 and many1 - [`0b15ccd`](https://github.com/Geal/nom/commit/0b15ccde8de8248e8eda6858ef296c10d75d61a0) relax trait requirements on cut - [`2713fd8`](https://github.com/Geal/nom/commit/2713fd8d260511945483f2bb951eb32e6ea95743) deactivate cfg(doctest) - [`092df74`](https://github.com/Geal/nom/commit/092df74d3565590f0cd414c1ec2e60b55535d0be) Fix meta variable misuse - [`14d2279`](https://github.com/Geal/nom/commit/14d2279e1475340f3fede0cd3ed71813500c0fba) Fix custom_input_types.md - Additional commits viewable in [compare view](https://github.com/Geal/nom/compare/4.0.0...5.0.1)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
.If all status checks pass Dependabot will automatically merge this pull request.
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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.