jonathan-s / serde-prefix

Allows you to use a macro prefix_all to prefix every attribute in structs and enums on serialization
MIT License
12 stars 3 forks source link

Support for suffix #4

Open RReverser opened 3 years ago

RReverser commented 3 years ago

I have a collection of tagged enums that are represented with enum_type, struct_type, etc. in the serialized form, and I want to deserialize them into an enum Type { Enum, Struct, ... }.

For that, I need a suffix version of the renaming rule - would it make sense to add it to the same crate?

jacks0n9 commented 3 months ago

no