c90752aa51
In 1265f4b
, we introduced a change which may cause a conflict of type
names when deriving the traits on two different types. While a
workaround existed (use `mod`s to isolate the implementation), that is
ugly.
This commit allows overriding the choice of type names.
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
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.
|
|
- Support for overriding the names of the types generated by the derive
|
|
macros.
|
|
|
|
Version 0.1.2:
|
|
2024-07-26 Jonas Schäfer <jonas@zombofant.net>
|
|
* Added
|
|
- FromXmlText and AsXmlText are now implemented on char.
|
|
* Fixed
|
|
- Docs build on docs.rs now shows feature-gated items.
|
|
|
|
Version 0.1.1:
|
|
2024-07-25 Maxime “pep” Buquet <pep@bouah.net>
|
|
* Added
|
|
- Import various text codecs from parsers: FixedHex, ColonSeparatedHex,
|
|
EmptyAsError.
|
|
|
|
Version 0.1.0:
|
|
2024-07-25 Jonas Schäfer <jonas@zombofant.net>
|
|
* Initial release of this crate
|