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 5fe4e4d646
Add reader (#33)
* feat: Add contenttypes and rel deserializer

* feat: Add reader fundation

* feat: Add run reader

* feat: Add run reader

* feat: Add paragraph reader foundation

* fix:test

* feat: Add book mark

* fix:bookmark id

* feat: Add bookmark reader

* feat: Add paragraph json fondation

* fix:fix reader

* feat: Add table reader foundation

* feat: Add table reader foundation

* feat: Add table cell prop serializer

* chore: rename content to children

* feat: Add row serializer

* feat: Add table property serializer

* fix: lint error

* feat: Add table reader

* feat: reader
2020-02-11 17:01:39 +09:00
bokuweb a9eb8f96b2 feat: Add style 2019-11-14 19:21:45 +09:00