examples: Reduce dependencies of the thumbnail example

Instead of depending on libraries for every possible image format,
depend only on the JPEG and PNG libraries.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1291>
This commit is contained in:
Sebastian Dröge 2023-06-26 14:14:45 +03:00
parent 36a92bf0fc
commit b439d90391

View file

@ -37,7 +37,7 @@ pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", versio
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16", optional = true }
glutin = { version = "0.29", optional = true }
once_cell = "1.0"
image = { version = "0.24", optional = true }
image = { version = "0.24", optional = true, default-features = false, features = ["png", "jpeg"] }
memmap2 = { version = "0.5", optional = true }
memfd = { version = "0.6", optional = true }
uds = { version = "0.2", optional = true }