Skip to content

Implement SerdeDiff for a few infallible container types#37

Open
AaronFriel wants to merge 4 commits intoamethyst:masterfrom
AaronFriel:cow
Open

Implement SerdeDiff for a few infallible container types#37
AaronFriel wants to merge 4 commits intoamethyst:masterfrom
AaronFriel:cow

Conversation

@AaronFriel
Copy link

Cow, Box, and Cell all have trivial implementations that should make it easy to support more downstream uses of SerdeDiff.

Rc, Arc, RefCell, and friends have either fallible read or write operations, so those are not implemented as those implementations would be opinionated, and I don't have an opinion on how that should be done.

Lastly, 'a in the derive macro is replaced by 'sd, mimicking the 'de from Serde's Deserialize.

jhoobergs pushed a commit to jhoobergs/serde-diff that referenced this pull request Jan 18, 2022
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.

1 participant