From 797b3ef51155cd87120bb07a0e5c06873d01bb1b Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sun, 15 Nov 2026 17:41:51 +0000 Subject: [PATCH] Clarify import feature gates --- crates/engine/src/import/files.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/engine/src/import/files.rs b/crates/engine/src/import/files.rs index 28dc029fe4..b4a5e44190 100644 --- a/crates/engine/src/import/files.rs +++ b/crates/engine/src/import/files.rs @@ -16,8 +16,8 @@ pub const EXTENSIONS: &[&str] = &[ "srw", "psd", "psb", "jxl", "gif", "bmp", // Decoded when built with the codecs' `heif` feature; otherwise the import reports them as // failed with the reason ("HEIC/HEIF support isn't included in this build"). - "heic", "heif", "avif", - "iiq", "crw", "mrw", "x3f", "kdc", "mos", "erf", "3fr", "fff", "mef", + "heic", "heif", // AVIF decoding is available in native builds with the codecs' `avif` feature. + "avif", "iiq", "crw", "mrw", "x3f", "kdc", "mos", "erf", "3fr", "fff", "mef", ]; pub fn is_supported(path: &Path) -> bool {