Clarify import feature gates

This commit is contained in:
Dylan M. Taylor committed 2026-11-15 17:41:51 +00:00
1 parent 55e9889a3d
commit 797b3ef511
1 file changed
+2 -2
+2 -2
View File
@@ -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 {