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

nom: switch to nom6-like errors #54

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cyphar
Copy link
Contributor

@cyphar cyphar commented May 22, 2021

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
Copy link
Contributor Author

cyphar commented Dec 21, 2021

/ping @tomaka

@AurelienFT
Copy link

Would love to see this merged !

@AurelienFT
Copy link

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