iced/winit
Héctor Ramón Jiménez eb67aa5d71
Revert "Remove 'static' bound for P::State in Program::run_with"
This reverts commit cab9dec626.

Wasm needs the `'static'` bound since the runtime
will run in a background task.
2024-03-17 19:53:02 +01:00
..
src Revert "Remove 'static' bound for P::State in Program::run_with" 2024-03-17 19:53:02 +01:00
Cargo.toml Move Theme type to iced_core 2024-03-07 00:14:41 +01:00
README.md Bump versions 🎉 2023-04-13 08:41:09 +02:00

iced_winit

Documentation Crates.io License Discord Server

iced_winit offers some convenient abstractions on top of iced_native to quickstart development when using winit.

It exposes a renderer-agnostic Application trait that can be implemented and then run with a simple call. The use of this trait is optional. A conversion module is provided for users that decide to implement a custom event loop.

The native target

Installation

Add iced_winit as a dependency in your Cargo.toml:

iced_winit = "0.9"

Iced moves fast and the master branch can contain breaking changes! If you want to learn about a specific release, check out the release list.