jaredforth / webp

WebP Image Conversion Library
Other
69 stars 20 forks source link

Please depend on image with default-features = false #4

Closed pchickey closed 3 years ago

pchickey commented 3 years ago

Hi! Thanks for this crate.

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.

jaredforth commented 3 years ago

@pchickey Hi Pat! Go ahead and send a PR and I'll work it in