Use pixels for presentation in iced_tiny_skia when possible

This commit is contained in:
Héctor Ramón Jiménez 2023-04-08 05:58:27 +02:00
parent 3ee367355d
commit 16e6efe020
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 69 additions and 13 deletions

View file

@ -4,6 +4,8 @@ version = "0.1.0"
edition = "2021"
[features]
default = ["gpu"]
gpu = ["pixels"]
image = ["iced_graphics/image"]
svg = ["resvg"]
geometry = ["iced_graphics/geometry"]
@ -31,6 +33,10 @@ default-features = false
version = "1.6.1"
features = ["std"]
[dependencies.pixels]
version = "0.12"
optional = true
[dependencies.resvg]
version = "0.29"
optional = true