this post was submitted on 01 Aug 2023
16 points (100.0% liked)
Rust
6024 readers
1 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Funny you should mention that. I think
iced
as of four days ago can do this!If I'm reading the release notes and
Cargo.toml
right,cargo add iced --no-default-features
and you should be good to go, astiny-skia
will be used as a rendering backend instead ofwgpu
.OMG, thank you! I have been using Iced. My simple application's RAM just went down from 80 MB to only 4 MB.
The executable size went down from about 8 MB to 2.5 MB
8MB to 2.5MB is a huge drop. I wonder what caused the bloat - a crate?
Most likely the GPU one
Obviously.
I mean the specific crate that caused the bloat.