diff options
author | 2023-03-06 22:10:13 +0100 | |
---|---|---|
committer | 2023-03-06 22:10:13 +0100 | |
commit | 9b4bcd287a7f4822314e158990d1dc023d5aab51 (patch) | |
tree | c331392327cbe15214cd6ffef6ccae4c491dc9d1 /renderer/Cargo.toml | |
parent | 06bbcc310e6e759a0839df6ca391ea5e0f0ee609 (diff) | |
download | iced-9b4bcd287a7f4822314e158990d1dc023d5aab51.tar.gz iced-9b4bcd287a7f4822314e158990d1dc023d5aab51.tar.bz2 iced-9b4bcd287a7f4822314e158990d1dc023d5aab51.zip |
Introduce backend feature flags in `iced_renderer`
Diffstat (limited to 'renderer/Cargo.toml')
-rw-r--r-- | renderer/Cargo.toml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/renderer/Cargo.toml b/renderer/Cargo.toml index 560bf2e1..629c11ba 100644 --- a/renderer/Cargo.toml +++ b/renderer/Cargo.toml @@ -4,9 +4,11 @@ version = "0.1.0" edition = "2021" [features] +wgpu = ["iced_wgpu"] +tiny-skia = ["iced_tiny_skia"] image = ["iced_wgpu/image", "iced_tiny_skia/image"] svg = ["iced_wgpu/svg", "iced_tiny_skia/svg"] -geometry = ["iced_wgpu/geometry", "iced_tiny_skia/geometry"] +geometry = ["iced_graphics/geometry", "iced_wgpu?/geometry", "iced_tiny_skia?/geometry"] tracing = ["iced_wgpu/tracing"] [dependencies] @@ -20,7 +22,9 @@ path = "../graphics" [dependencies.iced_wgpu] version = "0.9" path = "../wgpu" +optional = true [dependencies.iced_tiny_skia] version = "0.1" path = "../tiny_skia" +optional = true |