Add installation section to subcrate READMEs

This commit is contained in:
Héctor Ramón Jiménez 2019-11-20 09:56:16 +01:00
parent cb4827059f
commit 4b94cf0035
10 changed files with 72 additions and 10 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "iced_wgpu"
version = "0.1.0-alpha"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2018"
description = "A wgpu renderer for Iced"
@ -8,7 +8,7 @@ license = "MIT"
repository = "https://github.com/hecrj/iced"
[dependencies]
iced_native = { version = "0.1.0-alpha", path = "../native" }
iced_native = { version = "0.1.0", path = "../native" }
wgpu = "0.4"
glyph_brush = "0.6"
wgpu_glyph = { version = "0.5", git = "https://github.com/hecrj/wgpu_glyph", branch = "feature/scissoring" }

View file

@ -22,6 +22,18 @@ Currently, `iced_wgpu` supports the following primitives:
[WebGPU API]: https://gpuweb.github.io/gpuweb/
[`wgpu_glyph`]: https://github.com/hecrj/wgpu_glyph
## Installation
Add `iced_wgpu` as a dependency in your `Cargo.toml`:
```toml
iced_wgpu = "0.1.0"
```
__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
## Current limitations
The current implementation is quite naive, it uses: