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,18 @@
[package]
name = "iced_graphics"
version = "0.9.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "A bunch of backend-agnostic types that can be leveraged to build a renderer for Iced"
license = "MIT"
repository = "https://github.com/iced-rs/iced"
documentation = "https://docs.rs/iced_graphics"
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
categories = ["gui"]
description = "A bunch of backend-agnostic types that can be leveraged to build a 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
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[features]
geometry = ["lyon_path"]
@ -17,33 +21,21 @@ image = ["dep:image", "kamadak-exif"]
web-colors = []
[dependencies]
glam = "0.24"
half = "2.2.1"
log = "0.4"
raw-window-handle = "0.5"
thiserror = "1.0"
bitflags = "1.2"
iced_core.workspace = true
[dependencies.bytemuck]
version = "1.4"
features = ["derive"]
bitflags.workspace = true
bytemuck.workspace = true
glam.workspace = true
half.workspace = true
log.workspace = true
raw-window-handle.workspace = true
thiserror.workspace = true
[dependencies.iced_core]
version = "0.10"
path = "../core"
lyon_path.workspace = true
lyon_path.optional = true
[dependencies.image]
version = "0.24"
optional = true
image.workspace = true
image.optional = true
[dependencies.kamadak-exif]
version = "0.5"
optional = true
[dependencies.lyon_path]
version = "1"
optional = true
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
kamadak-exif.workspace = true
kamadak-exif.optional = true