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

Adding support for deserializing floats without termination #49

Merged

Conversation

ryan-summers
Copy link
Member

This PR fixes #47 by correcting the method used to parse floating point numbers to allow them to be terminated with an EOF.

I've also added unit tests to exercise this condition for basic data types.

Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me. Thanks!

@eldruin eldruin merged commit ee06ac9 into rust-embedded-community:master Feb 17, 2021
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.

Float deserialization fails when no trailing characters are present
2 participants