From 7a32cec06ff4f5b961a2b4d76bada9576deb9ef3 Mon Sep 17 00:00:00 2001 From: OJ Kwon <1210596+kwonoj@users.noreply.github.com> Date: Thu, 1 Jun 2023 20:00:26 -0700 Subject: [PATCH] feat(turbopack-image): enable gif support (vercel/turbo#5174) ### Description minor featature to enable gif support. --- crates/turbopack-image/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/turbopack-image/Cargo.toml b/crates/turbopack-image/Cargo.toml index b528c4813de54..b0f840bb9c6aa 100644 --- a/crates/turbopack-image/Cargo.toml +++ b/crates/turbopack-image/Cargo.toml @@ -10,6 +10,7 @@ autobenches = false bench = false [features] +# [NOTE]: Before enable this, ensure this can build all of the target platforms we support. avif = ["image/avif-decoder", "image/avif-encoder"] webp = ["image/webp", "image/webp-encoder"] @@ -17,6 +18,7 @@ webp = ["image/webp", "image/webp-encoder"] anyhow = { workspace = true } base64 = "0.21.0" image = { workspace = true, default-features = false, features = [ + "gif", "png", "jpeg", "ico",