notify-rust icon indicating copy to clipboard operation
notify-rust copied to clipboard

Consider disabling default features on `image` crate

Open nazar-pc opened this issue 1 year ago • 1 comments

When images feature is enabled and image dependency is brought in, it pulls in a bunch of other dependencies to support various image formats, though according to quick search they are not used in this crate, so using default-features = false would allow to remove a lot of unnecessary indirect dependencies.

UPD: Yes, there is Image::open(), but for those who decode images themselves it should not be required to pull all of the dependencies and if that is in fact needed, additional feature can be used just for that.

nazar-pc avatar Aug 10 '24 04:08 nazar-pc

That is a great point. Thanks.

hoodie avatar Aug 11 '24 07:08 hoodie