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

Added support for Floats #69

Open
wants to merge 4 commits into
base: cloudflare
Choose a base branch
from

Conversation

nethunters-dev
Copy link

Added support for float type, uses ordered-float crate for float Eq and Hash.

@marmeladema
Copy link
Collaborator

Thank you for your contribution! I'll take a look next week :-)

@nethunters-dev
Copy link
Author

You're welcome.

A quick heads up; it currently uses f64::from_str to parse the float from strings. Looking at the documentation for WireShark filters I couldn't find any mention of it supporting floating point numbers in forms other than decimal. The lexical crate (with the radix feature) has the ability to parse floats with a custom radix.

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.

None yet

2 participants