portability/libportability-gfx/Cargo.toml

44 lines
1,021 B
TOML
Raw Normal View History

[package]
name = "portability-gfx"
2018-03-02 14:04:47 +11:00
publish = false
version = "0.1.0"
2018-03-02 14:04:47 +11:00
authors = [
"Dzmitry Malyshau <kvark@mozilla.com>",
2018-03-15 08:24:26 +11:00
"Markus Siglreithmaier <m.siglreith@gmail.com>",
2018-03-02 14:04:47 +11:00
]
[lib]
name = "portability_gfx"
2017-12-27 05:45:31 +11:00
[features]
default = []
2018-03-02 14:04:47 +11:00
dispatch = []
2018-03-01 04:49:44 +11:00
#default = ["env_logger"] # uncomment for debugging
2017-12-27 05:45:31 +11:00
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"
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
2018-03-02 14:04:47 +11:00
[target.'cfg(not(target_os = "macos"))'.dependencies.gfx-backend-vulkan]
git = "https://github.com/gfx-rs/gfx"
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
2017-12-27 05:45:31 +11:00
optional = true
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
git = "https://github.com/gfx-rs/gfx"
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
2017-12-27 05:45:31 +11:00
optional = true
2018-03-02 14:04:47 +11:00
[target.'cfg(target_os = "macos")'.dependencies.gfx-backend-metal]
git = "https://github.com/gfx-rs/gfx"
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
2018-03-02 14:04:47 +11:00
optional = true