mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-23 19:03:54 +01:00
Clarify import feature gates
This commit is contained in:
1 parent
55e9889a3d
commit
797b3ef511
1 file changed
+2
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user