docx-rs/docx-core
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
..
bindings gen bindings (#427) 2022-01-28 15:36:03 +09:00
examples Footnotes initial support (#718) 2024-06-24 20:37:27 +09:00
src Implement streaming writers (#765) 2024-11-05 11:22:32 +09:00
tests fix to read comment inside Delete in Insert (#755) 2024-09-06 14:44:31 +09:00
Cargo.toml Make 'image' crate optional (#764) 2024-10-22 10:28:58 +09:00