docx-rs/docx-wasm
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
..
assets chore(deps): update dependency filesaver.js to v2.0.5 (#200) 2021-03-19 00:15:27 +09:00
example feat: Support top level bookmark (#133) 2020-09-02 18:23:53 +09:00
export-png spec: add reg (#774) 2024-11-01 13:37:39 +09:00
js fix: rc16 (#777) 2024-10-31 22:28:07 +09:00
src feat: add comments_json (#773) 2024-10-31 18:13:59 +09:00
test Implement streaming writers (#765) 2024-11-05 11:22:32 +09:00
.npmignore feat: Support adjust_right_ind (#691) 2024-03-18 23:27:28 +09:00
Cargo.toml feat: Support adjust_right_ind (#691) 2024-03-18 23:27:28 +09:00
index.js Prepare for wasm (#2) 2019-12-11 14:12:22 +09:00
package.json spec: add reg (#774) 2024-11-01 13:37:39 +09:00
pnpm-lock.yaml fix: rc16 (#777) 2024-10-31 22:28:07 +09:00
tsconfig.json fix: floating image (#710) 2024-04-26 18:29:29 +09:00
tsconfig.node.json fix: floating image (#710) 2024-04-26 18:29:29 +09:00
tsconfig.web.json fix: floating image (#710) 2024-04-26 18:29:29 +09:00
webpack.common.js Improve js api (#28) 2020-01-30 23:14:25 +09:00
webpack.dev.js Support nest comment (#116) 2020-08-14 01:57:59 +09:00
webpack.prod.js Improve js api (#28) 2020-01-30 23:14:25 +09:00