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
Derives for enums #8
Comments
What is your use-case? |
In a project I worked on some time ago and is frozen currently the messages were coming in the form |
Look at nom - it's complicated but powerful crate. |
How does it solve the enum issue? |
It's alternative proposition for parsing your MDB protocol than resolving derive support for enums. |
I didn't see any derive support there, did I miss it? |
There is no derive support it works different. I just pointed it out as possible alternative for parsing binary protocol(s) for you and anyone that would looking for similar solution. I didn't tested it yet but it would probably work on embedded if allocator is available. There is a great blog post about using nom in version 5. |
Ah, I see. Yeah, it could be interesting alternative. My code is already written and if it gets unfrozen at any time, I will look into improving it by using |
It'd be nice if this crate supported enums too. Suggested API:
I may write the PR if I need it, but don't expect it any time soon (probably not this year).
The text was updated successfully, but these errors were encountered: