2019-11-20 09:41:04 +01:00
# `iced_winit`
[][documentation]
[](https://crates.io/crates/iced_winit)
2022-05-02 20:25:47 +02:00
[](https://github.com/iced-rs/iced/blob/master/LICENSE)
2022-01-31 21:18:39 +07:00
[](https://discord.gg/3xZJ65GAhd)
2019-11-20 09:41:04 +01:00
`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.
2020-11-26 07:39:00 +01:00
< p align = "center" >
< img alt = "The native target" src = "../docs/graphs/native.png" width = "80%" >
< / p >
2019-11-20 09:41:04 +01:00
2020-04-02 17:08:28 +02:00
[documentation]: https://docs.rs/iced_winit
2019-11-20 09:41:04 +01:00
[`iced_native` ]: ../native
[`winit` ]: https://github.com/rust-windowing/winit
2019-11-20 09:56:16 +01:00
## Installation
Add `iced_winit` as a dependency in your `Cargo.toml` :
```toml
2021-03-31 20:06:03 +02:00
iced_winit = "0.3"
2019-11-20 09:56:16 +01:00
```
__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].
2022-01-22 03:04:35 -06:00
[the release list]: https://github.com/iced-rs/iced/releases