Update `README`s of subcrates

This commit is contained in:
Héctor Ramón Jiménez 2020-11-26 07:39:00 +01:00
parent 278d40d8c6
commit 7de72d6a27
6 changed files with 24 additions and 16 deletions

View File

@ -8,7 +8,9 @@
This crate is meant to be a starting point for an Iced runtime. This crate is meant to be a starting point for an Iced runtime.
![iced_core](../docs/graphs/core.png) <p align="center">
<img alt="The foundations" src="../docs/graphs/foundations.png" width="50%">
</p>
[documentation]: https://docs.rs/iced_core [documentation]: https://docs.rs/iced_core

View File

@ -1,24 +1,26 @@
# `iced_winit` # `iced_glutin`
[![Documentation](https://docs.rs/iced_winit/badge.svg)][documentation] [![Documentation](https://docs.rs/iced_glutin/badge.svg)][documentation]
[![Crates.io](https://img.shields.io/crates/v/iced_winit.svg)](https://crates.io/crates/iced_winit) [![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_winit.svg)](https://github.com/hecrj/iced/blob/master/LICENSE) [![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) [![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. 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 [`iced_native`]: ../native
[`winit`]: https://github.com/rust-windowing/winit [`glutin`]: https://github.com/rust-windowing/glutin
## Installation ## Installation
Add `iced_winit` as a dependency in your `Cargo.toml`: Add `iced_glutin` as a dependency in your `Cargo.toml`:
```toml ```toml
iced_winit = "0.1" iced_glutin = "0.1"
``` ```
__Iced moves fast and the `master` branch can contain breaking changes!__ If __Iced moves fast and the `master` branch can contain breaking changes!__ If

View File

@ -14,7 +14,9 @@ To achieve this, it introduces a bunch of reusable interfaces:
- A bunch of `Renderer` traits, meant to keep the crate renderer-agnostic. - A bunch of `Renderer` traits, meant to keep the crate renderer-agnostic.
- A `Windowed` trait, leveraging [`raw-window-handle`], which can be implemented by graphical renderers that target _windows_. Window-based shells (like [`iced_winit`]) can use this trait to stay renderer-agnostic. - A `Windowed` trait, leveraging [`raw-window-handle`], which can be implemented by graphical renderers that target _windows_. Window-based shells (like [`iced_winit`]) can use this trait to stay renderer-agnostic.
![iced_native](../docs/graphs/native.png) <p align="center">
<img alt="The native target" src="../docs/graphs/native.png" width="80%">
</p>
[documentation]: https://docs.rs/iced_native [documentation]: https://docs.rs/iced_native
[`iced_core`]: ../core [`iced_core`]: ../core

View File

@ -8,8 +8,6 @@
The crate is currently a __very experimental__, simple abstraction layer over [`dodrio`]. The crate is currently a __very experimental__, simple abstraction layer over [`dodrio`].
![iced_core](../docs/graphs/web.png)
[documentation]: https://docs.rs/iced_web [documentation]: https://docs.rs/iced_web
[`iced_core`]: ../core [`iced_core`]: ../core
[`dodrio`]: https://github.com/fitzgen/dodrio [`dodrio`]: https://github.com/fitzgen/dodrio

View File

@ -15,7 +15,9 @@ Currently, `iced_wgpu` supports the following primitives:
- Images and SVG, loaded from memory or the file system. - Images and SVG, loaded from memory or the file system.
- Meshes of triangles, useful to draw geometry freely. - Meshes of triangles, useful to draw geometry freely.
![iced_wgpu](../docs/graphs/wgpu.png) <p align="center">
<img alt="The native target" src="../docs/graphs/native.png" width="80%">
</p>
[documentation]: https://docs.rs/iced_wgpu [documentation]: https://docs.rs/iced_wgpu
[`iced_native`]: ../native [`iced_native`]: ../native

View File

@ -8,7 +8,9 @@
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. 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_winit
[`iced_native`]: ../native [`iced_native`]: ../native