mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-22 23:11:30 +11:00
44 lines
1,021 B
TOML
44 lines
1,021 B
TOML
[package]
|
|
name = "portability-gfx"
|
|
publish = false
|
|
version = "0.1.0"
|
|
authors = [
|
|
"Dzmitry Malyshau <kvark@mozilla.com>",
|
|
"Markus Siglreithmaier <m.siglreith@gmail.com>",
|
|
]
|
|
|
|
[lib]
|
|
name = "portability_gfx"
|
|
|
|
[features]
|
|
default = []
|
|
dispatch = []
|
|
#default = ["env_logger"] # uncomment for debugging
|
|
|
|
[dependencies]
|
|
lazy_static = "1.0"
|
|
log = "0.4"
|
|
|
|
[dependencies.env_logger]
|
|
version = "0.5"
|
|
optional = true
|
|
|
|
[dependencies.gfx-hal]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
|
|
|
|
[target.'cfg(not(target_os = "macos"))'.dependencies.gfx-backend-vulkan]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
|
|
optional = true
|
|
|
|
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
|
|
optional = true
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.gfx-backend-metal]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
rev = "adbf496f9b56d70cecb4a02aab6ad316e59a391d"
|
|
optional = true
|