summaryrefslogblamecommitdiffstats
path: root/glutin/README.md
blob: 263cc0af7dd5603ddaf9291492efab6a4c51f700 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                                                                     
                                                                                                                  
                                                                                                                                                                         
 
                                                                                                                            


                                                                                                                                                                                                                                        


                                                                           
 
                                            
                          
                                                    

               
                                                       

       
                   




                                                                            
                                                            
# `iced_glutin`
[![Documentation](https://docs.rs/iced_glutin/badge.svg)][documentation]
[![Crates.io](https://img.shields.io/crates/v/iced_glutin.svg)](https://crates.io/crates/iced_glutin)
[![License](https://img.shields.io/crates/l/iced_glutin.svg)](https://github.com/iced-rs/iced/blob/master/LICENSE)
[![Discord Server](https://img.shields.io/discord/628993209984614400?label=&labelColor=6A7EC2&logo=discord&logoColor=ffffff&color=7389D8)](https://discord.gg/3xZJ65GAhd)

`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.2"
```

__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/iced-rs/iced/releases