Skip to content

nom: switch to nom6-like errors#54

Open
cyphar wants to merge 2 commits into
paritytech:masterfrom
cyphar:nom6-errors
Open

nom: switch to nom6-like errors#54
cyphar wants to merge 2 commits into
paritytech:masterfrom
cyphar:nom6-errors

Conversation

@cyphar

@cyphar cyphar commented May 22, 2021

Copy link
Copy Markdown
Contributor

The preferred error types were changed in nom 6, and while the old ones
will compile, you'll find that nom doesn't like them very much any more.
It's much more preferable to use the new errors.

Signed-off-by: Aleksa Sarai [email protected]

Because we don't depend on "std" for "nom", the tests were failing to
build if you only enabled the "nom" feature but not "std". So require
both when testing (this is only needed for the tests).

Signed-off-by: Aleksa Sarai <[email protected]>
The preferred error types were changed in nom 6, and while the old ones
will compile, you'll find that nom doesn't like them very much any more.
It's much more preferable to use the new errors.

Signed-off-by: Aleksa Sarai <[email protected]>
@cyphar

cyphar commented Dec 21, 2021

Copy link
Copy Markdown
Contributor Author

/ping @tomaka

@AurelienFT

Copy link
Copy Markdown

Would love to see this merged !

@AurelienFT

Copy link
Copy Markdown

ping @tomaka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants