Closed dtolnay closed 4 years ago
Thanks!
Yes, I've looked at that rename_all
, and it does look quite a bit nicer when you actually see the generated code, so I would certainly like to use rename_all
in the future. Just prioritizing the biggest flaws first (at the moment duplicate type names).
Took a while, but finally implemented now in release 0.4 🎉
Amazing work!
I noticed this behavior:
This would be more friendly using rename_all instead:
The supported renames are "lowercase" (which you won't need, mostly for enums), "PascalCase", "camelCase", "snake_case" (also for enum variants), "SCREAMING_SNAKE_CASE", "kebab-case".