xso: make convert_via_fromstr_and_display available

Useful for dependent crates which want an easy way to provide the
AsXmlText / FromXmlText traits.
This commit is contained in:
Jonas Schäfer 2025-05-02 16:54:42 +02:00
commit 25d89e02ea
3 changed files with 56 additions and 9 deletions

View file

@ -50,6 +50,9 @@ Version NEXT:
- Support for a post-deserialization callback function call. (!553)
- Support for correctly inheriting `xml:lang` values throughout the
XML document.
- `xso::convert_via_fromstr_and_display`, a declarative macro to provide
`AsXmlText` and `FromXmlText` implementations based on the standard
library's `Display` and `FromStr` traits.
* Changes
- Generated AsXml iterator and FromXml builder types are now
doc(hidden), to not clutter hand-written documentation with auto