mirror of
https://github.com/italicsjenga/portability.git
synced 2024-12-02 20:01:31 +11:00
31 lines
601 B
TOML
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
|