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

@ -22,6 +22,9 @@ members = [
"examples/tour",
]
[features]
vulkan = ["iced_wgpu/vulkan"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
iced_winit = { version = "0.1.0-alpha", path = "winit" }
iced_wgpu = { version = "0.1.0-alpha", path = "wgpu" }