mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-27 01:11:32 +11:00
31 lines
676 B
TOML
31 lines
676 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"
|
|
log = "0.4"
|
|
|
|
[dependencies.gfx-hal]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
rev = "070e0cee47ae6f0c395a3402fd6f889c1315ef3e"
|
|
|
|
[dependencies.gfx-backend-vulkan]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
rev = "070e0cee47ae6f0c395a3402fd6f889c1315ef3e"
|
|
optional = true
|
|
|
|
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
rev = "070e0cee47ae6f0c395a3402fd6f889c1315ef3e"
|
|
optional = true
|