Skip to content

Add wasm32 support#29

Open
ctjhoa wants to merge 1 commit intoPoiScript:masterfrom
ctjhoa:wasm32
Open

Add wasm32 support#29
ctjhoa wants to merge 1 commit intoPoiScript:masterfrom
ctjhoa:wasm32

Conversation

@ctjhoa
Copy link

@ctjhoa ctjhoa commented Sep 24, 2020

zip-rs currently have bzip2 as default feature which doesn't compile in wasm.
I didn't find documentation in the ooxml specification but from all docx I've tested none of them was compress in bz2ip.
So this PR allow docx-rs compilation to wasm by removing feature from zip-rs.

Sources:
https://github.com/zip-rs/zip/blob/f5d7b6c89544af3b0d6a39a8b0ac3e35aff4f7d7/README.md#usage
https://github.com/zip-rs/zip/blob/master/Cargo.toml#L32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments