Skip to content

[twill-iced] Migrate to iced_core and iced_widgets - #1

Merged
FerrisMind merged 5 commits into
FerrisMind:mainfrom
T-256:remove-iced
Jul 26, 2026
Merged

[twill-iced] Migrate to iced_core and iced_widgets #1
FerrisMind merged 5 commits into
FerrisMind:mainfrom
T-256:remove-iced

Conversation

@T-256

@T-256 T-256 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Main motivation here is to avoid enabling extra features of iced, then turns out it could be removed in favor of its underlying crates.

I test this PR via my own app that uses iced-shadcn->twill-iced.

@FerrisMind
FerrisMind merged commit 1a68989 into FerrisMind:main Jul 26, 2026
1 check failed
@T-256

T-256 commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for merge, the main reason I removed wgpu feature was because I only need to compile with tiny-skia for compability and binary size. now 16c8afb prevent me to do such thing.

@FerrisMind

FerrisMind commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Thanks for reporting this and for your interest in this project — you were right. Hard-coding WGPU broke Tiny Skia-only builds.

I’ve updated the feature model:

  • twill-iced now enables WGPU and Tiny Skia by default, with WGPU as the primary renderer and Tiny Skia as fallback;
  • the facade feature iced enables both renderers;
  • iwgpu enables only WGPU;
  • itskia enables only Tiny Skia.

For a direct twill-iced dependency, use:

twill-iced = {
    version = "0.3",
    default-features = false,
    features = ["tiny-skia"]
}

I verified that the itskia dependency graph does not include iced_wgpu, and all three configurations build successfully. Could you please test the Tiny Skia-only setup in your project?

You need to update to commit 9d2f2a4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants