Commit Graph

3 Commits (6c1d6e89b228c1b1eb95da7477a8d4558f6212c5)

Author SHA1 Message Date
bokuweb 6c1d6e89b2
fix: disable bool el (#811) 2025-03-31 17:35:53 +09:00
Igor Strebz 238d2bc3fe
Implement streaming writers (#765)
* Make XMLBuilder generic

* Reduce allocations at XmlData display impl

* Implement streaming writers

- Extend BuildXML trait, add the streaming method
- Remove impls for Box<Ty>, as they can be implemented on the trait level
- Rewrite build() methods in chaining style, backed by apply_* helpers
- Remove quite a few allocations, though numbers still produce them
- Add spaces between children nodes, fix tests

* Add rustfmt.toml and format code

* Fix clippy warnings

* Expose the BuildXML trait without displaying its methods in hints
2024-11-05 11:22:32 +09:00
bokuweb a22abb3b4a
Support strike (#390)
* fix: spec

* fix: spec

* fix: strike
2021-12-21 11:54:27 +09:00