Use workspace dependencies and package inheritance

We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
This commit is contained in:
Héctor Ramón Jiménez 2023-09-04 12:58:41 +02:00
parent a56b25b909
commit f468e25d0c
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
59 changed files with 447 additions and 423 deletions

View file

@ -1,14 +1,14 @@
[package]
name = "iced_renderer"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "The official renderer for Iced"
license = "MIT"
repository = "https://github.com/iced-rs/iced"
documentation = "https://docs.rs/iced_renderer"
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
categories = ["gui"]
description = "The official renderer for iced"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
categories.workspace = true
keywords.workspace = true
[features]
wgpu = ["iced_wgpu"]
@ -20,19 +20,12 @@ web-colors = ["iced_wgpu?/web-colors"]
webgl = ["iced_wgpu?/webgl"]
[dependencies]
raw-window-handle = "0.5"
thiserror = "1"
log = "0.4"
iced_graphics.workspace = true
iced_tiny_skia.workspace = true
[dependencies.iced_graphics]
version = "0.9"
path = "../graphics"
iced_wgpu.workspace = true
iced_wgpu.optional = true
[dependencies.iced_tiny_skia]
version = "0.1"
path = "../tiny_skia"
[dependencies.iced_wgpu]
version = "0.11"
path = "../wgpu"
optional = true
log.workspace = true
raw-window-handle.workspace = true
thiserror.workspace = true