You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use webp alongside other parts of the image crate, but I need to set features of the image crate (particularly, disabling rayon because I am compiling for wasm32). When depending on the webp crate, it pulls in image with all default features.
Can you please change your dependency on image to include default-features = false, and only explicitly enable the features you need in the img feature?
If you'd like, I can send a PR which implements this change.
The text was updated successfully, but these errors were encountered:
This crate doesn't make use of any of the codecs in `image`, which can
be individually enabled with cargo features, and are all enabled by
default. Setting default-features=false allows applications that
depend on `webp` and `image` to select exactly what `image` features
they need.
Fixesjaredforth#4
Hi! Thanks for this crate.
I'm trying to use
webp
alongside other parts of theimage
crate, but I need to set features of theimage
crate (particularly, disabling rayon because I am compiling for wasm32). When depending on the webp crate, it pulls inimage
with all default features.Can you please change your dependency on
image
to includedefault-features = false
, and only explicitly enable the features you need in theimg
feature?If you'd like, I can send a PR which implements this change.
The text was updated successfully, but these errors were encountered: