-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make WOFF2 brotli decoding optional #110
base: master
Are you sure you want to change the base?
Conversation
I'm ok with the overall goal of the PR. However doing some review and testing I'm wondering if this should be a feature to enable/disable WOFF2 support instead of just brotli. It seems that it's not possible to use the
Does that sound like a reasonable alternative? |
Yeah ok, the reason I did it like this is because I didn't want to break the API. |
Did you want to tackle that change or are you wanting me to do it? |
It would be better to simply upgrade |
This reverts commit cc042e8.
@wezm Okay, you can merge it and release a new (patch) version. No substantial changes otherwise. |
The
brotli-decompressor
crate has some C dependencies, which is a problem when compiling allsorts to WASM (in order to use in on the web and on serverless-wasm applications). Specifically, some tools have problems with mixed C / Rust dependencies.This PR makes
--feature=brotli
optional, but enabled by default.