30 lines
1.3 KiB
Markdown
30 lines
1.3 KiB
Markdown
# `iced_glutin`
|
|
[][documentation]
|
|
[](https://crates.io/crates/iced_glutin)
|
|
[](https://github.com/hecrj/iced/blob/master/LICENSE)
|
|
[](https://iced.zulipchat.com)
|
|
|
|
`iced_glutin` offers some convenient abstractions on top of [`iced_native`] to quickstart development when using [`glutin`].
|
|
|
|
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.
|
|
|
|
<p align="center">
|
|
<img alt="The native target" src="../docs/graphs/native.png" width="80%">
|
|
</p>
|
|
|
|
[documentation]: https://docs.rs/iced_glutin
|
|
[`iced_native`]: ../native
|
|
[`glutin`]: https://github.com/rust-windowing/glutin
|
|
|
|
## Installation
|
|
Add `iced_glutin` as a dependency in your `Cargo.toml`:
|
|
|
|
```toml
|
|
iced_glutin = "0.1"
|
|
```
|
|
|
|
__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].
|
|
|
|
[the release list]: https://github.com/hecrj/iced/releases
|