Commit Graph

3 Commits (1137e291a1aece5887b91249220639e06b0b6b43)

Author SHA1 Message Date
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 aceb32f918
feat: Support doc_id (#120) 2020-08-20 00:53:35 +09:00
bokuweb 84972af477 feat: Add settings 2019-11-14 15:54:39 +09:00