xso-proc: remove stripping of trailing _ from type names

Users can now rename the generated types altogether, which means that we
do not need this anymore to avoid lints.
This commit is contained in:
Jonas Schäfer 2024-07-31 15:40:41 +02:00 committed by Link Mauve
commit 3089832090
4 changed files with 7 additions and 21 deletions

View file

@ -1,12 +1,5 @@
Version NEXT:
0000-00-00 Jonas Schäfer <jonas@zombofant.net>
* Breaking
- We now strip trailing underscores from identifiers before constructing
any type names we declare from derive macros.
If you previously derived any of the macros on e.g. `Foo` and `Foo_`
within the same scope, you can use the newly added `builder` and
`iterator` meta keys to override the generated type names.
* Added
- Support for child elements in derive macros. Child elements may also
be wrapped in Option or Box.