Skip to content

Serde Deserialize+Serialize implementation#440

Open
rabbit-time wants to merge 1 commit intokeepsimple1:mainfrom
rabbit-time:main
Open

Serde Deserialize+Serialize implementation#440
rabbit-time wants to merge 1 commit intokeepsimple1:mainfrom
rabbit-time:main

Conversation

@rabbit-time
Copy link

This PR introduces a new feature flag: serde

I've implemented the Serialize and Deserialize traits using derive for ResolvedService and for all the local types which it contains.

Additionally, I've also written a basic test to accompany the changes and added serde_json as a development dependency.

If there is a benefit to providing serde support for types other than ResolvedService, please comment that.

Closes: #438

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.

Implement Deserialize/Serialize for mdns-sd types

1 participant