Rusttype adds several megabytes to wasm builds (seemingly due to `unicode-normalization`)
Hey!
Having great success with rusttype
.
I've noticed that my dev build size has gone up a bit. I didn't check the old numbers (I can if necessary) but it's in the ballpark of +4Mb added (less in release after gzip, but dev size matters to since I need to bundle everything with webpack and that is now taking much more time).
Since I'm serving my app to browsers, it would be great to shrink it down a bit.
I think that this file in one of its dependencies is the culprit https://github.com/unicode-rs/unicode-normalization/blob/master/src/tables.rs .
Would there be any issues with putting unicode-normalization
an optional dependency behind a feature flag?
If not - I'd be happy to make this change if you can point me in the right direction for the best way to go about it?
Cheers!