Don't enable image-default-formats by default, remove compat-1-10 feature

We decided that the compatibility with people having enabled the extra
format in image 0.24 [1] is not worth it compared to the extra compilation
time most people gets by default when they don't need this feature.
(Which is less than 10% slower when the feature is enabled)

Since then there is no need for compat-1-10, remove it

[1] by depending directly on image 0.24 in their Cargo.toml and enabling
the features, which will not work with Slint 1.10 that now use image 0.25
This commit is contained in:
Olivier Goffart 2025-02-22 11:15:18 +01:00 committed by GitHub
parent 5cccfda36f
commit c3e32c1665
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 31 additions and 35 deletions

View file

@ -55,7 +55,7 @@ i-slint-backend-selector = { workspace = true, optional = true }
i-slint-backend-testing = { workspace = true, optional = true, features = ["ffi"] }
i-slint-renderer-skia = { workspace = true, features = ["default", "x11", "wayland"], optional = true }
i-slint-core = { workspace = true, features = ["ffi"] }
slint-interpreter = { workspace = true, features = ["ffi", "compat-1-10"], optional = true }
slint-interpreter = { workspace = true, features = ["ffi", "compat-1-2"], optional = true }
raw-window-handle = { version = "0.6", optional = true }
esp-backtrace = { version = "0.14.0", features = ["panic-handler", "println"], optional = true }