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

Respect #[serde(transparent)] attribute #17

Closed
GREsau opened this issue Feb 29, 2020 · 1 comment
Closed

Respect #[serde(transparent)] attribute #17

GREsau opened this issue Feb 29, 2020 · 1 comment

Comments

@GREsau
Copy link
Owner

GREsau commented Feb 29, 2020

https://serde.rs/container-attrs.html#transparent

Serialize and deserialize a newtype struct or a braced struct with one field exactly the same as if its one field were serialized and deserialized by itself. Analogous to #[repr(transparent)].

@GREsau
Copy link
Owner Author

GREsau commented May 17, 2020

Implemented in v0.7.5

@GREsau GREsau closed this as completed May 17, 2020
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

No branches or pull requests

1 participant