diff --git a/Cargo.lock b/Cargo.lock index 0a391ab085..5fec34525d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8938,7 +8938,6 @@ dependencies = [ "qoi", "ravif", "rayon", - "rgb", "tiff", "zune-core", "zune-jpeg", diff --git a/Cargo.toml b/Cargo.toml index c657ff1aef..90eb3c0c4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -617,7 +617,25 @@ http-body = "1.0" httparse = "1.10" idna = "1.0" ignore = "0.4.22" -image = "0.25.1" +# image's default features minus "avif", which only adds an encoder (rav1e); +# decoding AVIF would additionally need the non-default "avif-native" feature. +image = { version = "0.25.1", default-features = false, features = [ + "bmp", + "dds", + "exr", + "ff", + "gif", + "hdr", + "ico", + "jpeg", + "png", + "pnm", + "qoi", + "rayon", + "tga", + "tiff", + "webp", +] } imara-diff = "0.1.8" indexmap = { version = "2.7.0", features = ["serde"] } indoc = "2"