a:language-rustgood first issue
Description
Bug Description
I'm trying to create a minimal Slint setup that compiles as fast as possible.
I noticed that the default Slint build enables almost all features of image-rs, which adds unnecessary overhead to both compile time and binary size.
Removing slint-build helps a lot, because this package pulls in the default image features.
This decreased size of Cargo.lock from 6250 lines to 5685
I think there should be a way to disable these features - I don’t need support for formats like QOI or GIF from image-rs.
It’s also possible that there are additional components that could be made optional, such as resvg, to further improve the build process.
Reproducible Code (if applicable)
Empty project with this Cargo.toml
[dependencies]
slint = "1.16.1"
[build-dependencies]
slint-build = "1.16.1"
Environment Details
- Slint Version: 1.16
- Platform/OS: Ubuntu 24.04
- Programming Language: Rust
- Backend/Renderer: N/A
Product Impact
No response