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

Add custom deserialize and serialize impls for Version, StatusCode and Method #262

Merged
merged 3 commits into from
Oct 28, 2020

Conversation

mfelsche
Copy link
Contributor

This fixes #260

Matthias Wahl added 3 commits October 27, 2020 15:08
in order to serialize it to string.
in order to serialize it to u16 and deserialize it from most int types.
in order to serialize it to string.
Copy link
Member

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

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

Oh wow; this is great! -- thanks so much!

@yoshuawuyts yoshuawuyts merged commit a6b2a05 into http-rs:main Oct 28, 2020
@mfelsche mfelsche deleted the serialize branch October 28, 2020 10:57
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.

Derive Serializable and Deserializable for http_types::method::Method
3 participants