Initialize wgpu

We only enable the `vulkan` feature for now.
This commit is contained in:
Héctor Ramón Jiménez 2019-10-03 00:23:08 +02:00
parent 63294088ad
commit 8bb33cd5a0
4 changed files with 47 additions and 1 deletions

View file

@ -7,6 +7,10 @@ description = "A wgpu renderer for Iced"
license = "MIT"
repository = "https://github.com/hecrj/iced"
[features]
vulkan = ["wgpu/vulkan"]
[dependencies]
iced_native = { version = "0.1.0-alpha", path = "../native" }
wgpu = "0.3"
raw-window-handle = "0.1"