-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add impl Serialize and Deserialize for Option<Url>
This commit is adding impl Serialize and Deserialize for Option<Url> which is intended to be used with serde serliaze_with and deserialize_with for derived ser/deser when an url field is optional. This commit is also adding some tests for derived Serialize and Deserialize via serde serialize_with and deserialize_with, as custom_derive is stable since rust 1.15.
- Loading branch information
1 parent
c7254e5
commit 599b97d
Showing
2 changed files
with
125 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters