code: Derive CompositeTemplate with "file=" and xml_validation enabled
My suggestion is:
- Move .ui-files into the same place as the .rs-files that use it. I found the current approach rather unergonomic compared to other projects.
- Enable
xml_validation
for more build time checks because fewer bugs and faster development - Use
file=
instead of resources, since the goal of resources is to bundle the content into the binary anyways and because I thinkxml_validation
would not work otherwise
I would further suggest using https://github.com/felinira/gvdb-rs for handling the remaining resources for less boilerplate