-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serialize and deserialize proxy types transparently.
This change serializes and deserializes `Proxy` transparently. No fields or structure is written or read. Importantly, an intermediate type is used with conversion to ensure that any constraints are still applied, so it is not possible to deserialize an infinity into a `Finite`, for example.
- Loading branch information
1 parent
6522d94
commit d93535c
Showing
2 changed files
with
89 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,3 +56,4 @@ optional = true | |
|
||
[dev-dependencies] | ||
num = "^0.4.0" | ||
serde_json = "1.0" |
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