Use pixels for presentation in iced_tiny_skia when possible
This commit is contained in:
parent
3ee367355d
commit
16e6efe020
2 changed files with 69 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue