Commit Graph

4 Commits (63178e9f4aa2baff16d6d34f908ae75fb1d92bd5)

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
unvalley 69b4c1a4a3
build: use rust 1.82 and fix clipyy errors (#768)
* build: use rust 1.82 and fix clipyy errors

* refactor: fix clippy errors
2024-10-30 14:53:26 +09:00
bokuweb 54b7a4d20c
feat: Impl dataBinding (#383)
* feat: Impl dataBinding

* fix: snaps
2021-12-09 19:37:54 +09:00
bokuweb 6c139144f3
Support custom xml (#316)
* feat: Add CustomXML

* feat: Add custom items

* fix: custom items

* fix: test

* update

* fix: lint error

* fix

* allow empty prefix namespace

* 0.0.204

* fix

* 0.0.205
2021-07-13 18:46:15 +09:00