J-F-Liu / lopdf

A Rust library for PDF document manipulation.
MIT License
1.62k stars 176 forks source link

Consider adding wasm[32/64]-unkown-unknown target #194

Open anterpin opened 1 year ago

anterpin commented 1 year ago

Consider adding wasm[32/64]-unknown-unkown target to be compilable to WebAssembly.

Heinenen commented 2 months ago

Isn't compiling to wasm already possible? I managed to get it to work, following this tutorial https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_Wasm. Or what would we need to change in this repository to make it work for your use case?