Closed thebluefish closed 1 year ago
hey @thebluefish , thanks a lot for your work here and sorry I've taken so long to look at it. It's great that you've thought of the backwards-compatible approach here but I think we should get rid of the old attribute altogether. I'll merge this in and add a quick patch for that. We'll consider this a breaking change and bump to tsync 2.0 so end-users know.
Serde 1.0 throws an error when attempting to use the
renameAll
attribute per tests:This adds support for the
rename_all
attribute according to https://serde.rs/container-attrs.htmlI originally changed just the tag, removing support for
renameAll
, but I added a separate check in case the other tag is used somewhere I'm not aware of.