docx-rs
docx-rs copied to clipboard
fix(strong-xml): `write_flatten_text` api changed
- Fix #47
- Fix following error
C:/Users/.cargo/bin/cargo.exe build --color=always --message-format=json-diagnostic-rendered-ansi --package docx --example table
Compiling jetscii v0.4.4
error: unconstrained generic constant
--> C:\Users\.cargo\registry\src\github.com-1ecc6299db9ec823\jetscii-0.4.4\src\simd.rs:110:13
|
110 | T::CONTROL_BYTE,
| ^^^^^^^^^^^^^^^
|
= help: try adding a `where` bound using this expression: `where [(); T::CONTROL_BYTE]:`
error: unconstrained generic constant
--> C:\Users\.cargo\registry\src\github.com-1ecc6299db9ec823\jetscii-0.4.4\src\simd.rs:149:13
|
149 | T::CONTROL_BYTE,
| ^^^^^^^^^^^^^^^
|
= help: try adding a `where` bound using this expression: `where [(); T::CONTROL_BYTE]:`
error: aborting due to 2 previous errors
error: could not compile `jetscii` due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
Process finished with exit code 101
Tested with example from Poi and this fixes documented issue
meet same problems. hope this PR can merge.
Agree, without this fix this can't be used anymore!
For now I'll use
docx = { git = "https://github.com/notedge/docx-rs", branch = "master" }
in my cargo.toml.
@PoiScript 你好, 你可以抽空 review 一下这个 pr 吗, 这个提交主要包含了一些过期 api 的修复, 不会占用太多时间
ha, came here to open this same PR