reujab / wallpaper.rs

A cross-platform Rust library for getting and setting desktop wallpapers
The Unlicense
96 stars 24 forks source link

Adress issue #5 : many unused dependencies pulled in #6

Closed Vanille-N closed 3 years ago

Vanille-N commented 4 years ago

This is the solution I proposed in issue #5, it allows the user to opt out of compiling reqwest and url when not using the set_from_url functionality.

I should mention that although I am unable to verify that nothing was broken for any platform, it should be fine considering I only did very minor changes to non-attribute lines.

MGlolenstine commented 3 years ago

With my above commits, I've tested out Linux (i3 and sway) and Windows 10.