Closed rsdy closed 1 year ago
So I'd like the third commit squashed into the second one, since it's not logically separate.
On rustfmt vs macros, can you try and see what actually changes about the formatting when you remove the #[skip]
attributes? So far it's been fine in this crate (and in my experience on other crates).
This patchset resolves #18 .
The proc macro will panic if:
scalar
with#[xml(scalar)]
1 + 1
, or some otherconst
expr)#[xml(scalar)]
attribute is used for variants (only permitted on the enum)#[xml(rename = "value")]
attribute.