2017-12-08 23:11:54 +11:00
|
|
|
[package]
|
|
|
|
name = "portability-gfx"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Dzmitry Malyshau <kvark@mozilla.com>"]
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "portability_gfx"
|
|
|
|
|
2017-12-27 05:45:31 +11:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
dx12 = ["gfx-backend-dx12"]
|
|
|
|
vulkan = ["gfx-backend-vulkan"]
|
|
|
|
|
2017-12-09 05:18:18 +11:00
|
|
|
[dependencies]
|
|
|
|
lazy_static = "1.0"
|
|
|
|
|
2017-12-08 23:11:54 +11:00
|
|
|
[dependencies.gfx-hal]
|
2017-12-20 08:28:57 +11:00
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2017-12-08 23:11:54 +11:00
|
|
|
branch = "portable"
|
|
|
|
|
|
|
|
[dependencies.gfx-backend-vulkan]
|
2017-12-20 08:28:57 +11:00
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2017-12-08 23:11:54 +11:00
|
|
|
branch = "portable"
|
|
|
|
features = ["portable"]
|
2017-12-27 05:45:31 +11:00
|
|
|
optional = true
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
|
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
|
|
branch = "portable"
|
|
|
|
optional = true
|