Commit Graph

6 Commits (0f65b004364b0bb320c5da4f81d2edd5fba939f4)

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 a346cd1a16
Fix support hyperlink reader (#508)
* fix

* fix: support external link

* wip

* fix

Co-authored-by: bokuweb <bokuweb@bokuwebnombp.lan>
2022-07-06 10:47:15 +09:00
bokuweb 22aee045a0
refactor: rename macros (#25)
* refactor: rename macros

* fix: some clippy error

* fix: lint error

* chore: run lint in actions
2020-01-24 17:57:14 +09:00
bokuweb d4f08f9703 feat: Add paragraph 2019-11-07 16:08:59 +09:00
bokuweb 6083f27500 feat: Add docsDefault 2019-11-06 14:55:14 +09:00
bokuweb 3e154d6904 feat: Add rels 2019-11-05 18:03:23 +09:00