summaryrefslogtreecommitdiffstats
path: root/glutin
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-11-26 07:39:00 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-11-26 07:40:00 +0100
commit7de72d6a2764f7c57bec23563406e1b5d1ad61b5 (patch)
tree09e8edeeb4a8b84c7681da069edb50621bf93c5f /glutin
parent278d40d8c6c551b942d372231fe9fb90b0ee9cf1 (diff)
downloadiced-7de72d6a2764f7c57bec23563406e1b5d1ad61b5.tar.gz
iced-7de72d6a2764f7c57bec23563406e1b5d1ad61b5.tar.bz2
iced-7de72d6a2764f7c57bec23563406e1b5d1ad61b5.zip
Update `README`s of subcrates
Diffstat (limited to 'glutin')
-rw-r--r--glutin/README.md22
1 files changed, 12 insertions, 10 deletions
diff --git a/glutin/README.md b/glutin/README.md
index 34dec1b3..addb9228 100644
--- a/glutin/README.md
+++ b/glutin/README.md
@@ -1,24 +1,26 @@
-# `iced_winit`
-[![Documentation](https://docs.rs/iced_winit/badge.svg)][documentation]
-[![Crates.io](https://img.shields.io/crates/v/iced_winit.svg)](https://crates.io/crates/iced_winit)
-[![License](https://img.shields.io/crates/l/iced_winit.svg)](https://github.com/hecrj/iced/blob/master/LICENSE)
+# `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/hecrj/iced/blob/master/LICENSE)
[![project chat](https://img.shields.io/badge/chat-on_zulip-brightgreen.svg)](https://iced.zulipchat.com)
-`iced_winit` offers some convenient abstractions on top of [`iced_native`] to quickstart development when using [`winit`].
+`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.
-![iced_winit](../docs/graphs/winit.png)
+<p align="center">
+ <img alt="The native target" src="../docs/graphs/native.png" width="80%">
+</p>
-[documentation]: https://docs.rs/iced_winit
+[documentation]: https://docs.rs/iced_glutin
[`iced_native`]: ../native
-[`winit`]: https://github.com/rust-windowing/winit
+[`glutin`]: https://github.com/rust-windowing/glutin
## Installation
-Add `iced_winit` as a dependency in your `Cargo.toml`:
+Add `iced_glutin` as a dependency in your `Cargo.toml`:
```toml
-iced_winit = "0.1"
+iced_glutin = "0.1"
```
__Iced moves fast and the `master` branch can contain breaking changes!__ If