mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-23 15:31:32 +11:00
68 lines
1.8 KiB
TOML
68 lines
1.8 KiB
TOML
[package]
|
|
name = "portability-gfx"
|
|
publish = false
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
authors = [
|
|
"Dzmitry Malyshau <kvark@mozilla.com>",
|
|
"Joshua Groves <josh@joshgroves.com>",
|
|
"Markus Siglreithmaier <m.siglreith@gmail.com>",
|
|
]
|
|
|
|
[lib]
|
|
name = "portability_gfx"
|
|
|
|
[features]
|
|
default = []
|
|
dispatch = []
|
|
nightly = ["gfx-auxil"]
|
|
metal-capture = ["gfx-backend-metal/auto-capture"]
|
|
|
|
[dependencies]
|
|
copyless = "0.1.1"
|
|
env_logger = { version = "0.7", optional = true }
|
|
lazy_static = "1"
|
|
log = { version = "0.4", features = ["release_max_level_error"] }
|
|
renderdoc = { version = "0.3", optional = true }
|
|
typed-arena = "2"
|
|
raw-window-handle = "0.3"
|
|
|
|
[dependencies.hal]
|
|
package = "gfx-hal"
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
#path = "../../gfx/src/hal"
|
|
|
|
[dependencies.gfx-backend-empty]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
#path = "../../gfx/src/backend/empty"
|
|
|
|
[target.'cfg(not(any(target_os = "macos", target_os = "ios")))'.dependencies.gfx-backend-vulkan]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
#path = "../../gfx/src/backend/vulkan"
|
|
optional = true
|
|
|
|
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
#path = "../../gfx/src/backend/dx12"
|
|
optional = true
|
|
|
|
[target.'cfg(windows)'.dependencies.gfx-backend-dx11]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
#path = "../../gfx/src/backend/dx11"
|
|
optional = true
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.gfx-backend-metal]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
#path = "../../gfx/src/backend/metal"
|
|
optional = true
|
|
|
|
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios")))'.dependencies.gfx-backend-gl]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
#path = "../../gfx/src/backend/gl"
|
|
optional = true
|
|
|
|
[dependencies.gfx-auxil]
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
#path = "../../gfx/src/auxil/auxil"
|
|
optional = true
|