portability/libportability-gfx/Cargo.toml
2017-12-26 19:45:31 +01:00

31 lines
601 B
TOML

[package]
name = "portability-gfx"
version = "0.1.0"
authors = ["Dzmitry Malyshau <kvark@mozilla.com>"]
[lib]
name = "portability_gfx"
[features]
default = []
dx12 = ["gfx-backend-dx12"]
vulkan = ["gfx-backend-vulkan"]
[dependencies]
lazy_static = "1.0"
[dependencies.gfx-hal]
git = "https://github.com/gfx-rs/gfx"
branch = "portable"
[dependencies.gfx-backend-vulkan]
git = "https://github.com/gfx-rs/gfx"
branch = "portable"
features = ["portable"]
optional = true
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
git = "https://github.com/gfx-rs/gfx"
branch = "portable"
optional = true