From 7c67375d99193d571078496f58fc7a0ad97c3a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 26 Jun 2023 14:14:45 +0300 Subject: [PATCH] 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: --- examples/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 8424c69e8..8de652501 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -37,7 +37,7 @@ pango = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true } pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", 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.7", optional = true } memfd = { version = "0.6", optional = true } uds = { version = "0.2", optional = true }