portability/libportability-gfx/Cargo.toml

36 lines
787 B
TOML
Raw Normal View History

[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 = []
2018-03-01 04:49:44 +11:00
#default = ["env_logger"] # uncomment for debugging
2017-12-27 05:45:31 +11:00
dx12 = ["gfx-backend-dx12"]
vulkan = ["gfx-backend-vulkan"]
2017-12-09 05:18:18 +11:00
[dependencies]
lazy_static = "1.0"
log = "0.4"
2017-12-09 05:18:18 +11:00
2018-03-01 04:49:44 +11:00
[dependencies.env_logger]
version = "0.5"
optional = true
[dependencies.gfx-hal]
git = "https://github.com/gfx-rs/gfx"
2018-03-01 03:27:03 +11:00
rev = "070e0cee47ae6f0c395a3402fd6f889c1315ef3e"
[dependencies.gfx-backend-vulkan]
git = "https://github.com/gfx-rs/gfx"
2018-03-01 03:27:03 +11:00
rev = "070e0cee47ae6f0c395a3402fd6f889c1315ef3e"
2017-12-27 05:45:31 +11:00
optional = true
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
git = "https://github.com/gfx-rs/gfx"
2018-03-01 03:27:03 +11:00
rev = "070e0cee47ae6f0c395a3402fd6f889c1315ef3e"
2017-12-27 05:45:31 +11:00
optional = true