build: make avif feature optional but enable by default

This commit is contained in:
Michael Aaron Murphy 2026-07-01 01:41:02 +02:00 committed by Jacob Kauffmann
parent 4d3915c1d7
commit d971176aca
5 changed files with 18 additions and 57 deletions

View file

@ -4,8 +4,6 @@ version = "1.0.7"
edition = "2024"
rust-version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cosmic-bg-config = { workspace = true }
cosmic-randr-shell = { workspace = true }
@ -16,7 +14,7 @@ fast_image_resize = { version = "6", features = [
] }
futures-lite = "2.6.1"
futures-util = "0.3.32"
image = { version = "0.25.10", features = ["avif-native", "hdr", "jpeg", "png", "rayon", "webp"] }
image.workspace = true
infer = "0.19.0"
jxl-oxide = { version = "0.12.5", features = ["image"] }
tokio = { workspace = true, features = ["sync"] }