Closed MabezDev closed 3 years ago
+1 on this! Did a test yesterday, and it also fixes support for externally tagged enums (https://serde.rs/enum-representations.html)
Good job!
Ping @japaric
@MathiasKoch how do you want to go about this one? Would you be able to pull these changes into a new PR and adapt them?
Sure thing, give me 5 minutes.
Will try to fix the CI clippy stuff at the same time.
@MabezDev Thank you very much for your work here!
I am closing this, as i have moved it to #42 with a rebase on master, to get this moving.
Adds ser/de for the following types:
unit
types, i.e()
&struct Test;
newtype
structs, ser/de'ing the underlying valuenewtype_variant
format, i.eVariant(u32)
struct_variant
format, i.eVariant { x: u32, y: u16 }