portability/libportability-gfx/Cargo.toml

56 lines
1.3 KiB
TOML
Raw Normal View History

[package]
name = "portability-gfx"
2018-03-01 22:04:47 -05:00
publish = false
version = "0.1.0"
2018-03-01 22:04:47 -05:00
authors = [
"Dzmitry Malyshau <kvark@mozilla.com>",
"Joshua Groves <josh@joshgroves.com>",
2018-03-14 22:24:26 +01:00
"Markus Siglreithmaier <m.siglreith@gmail.com>",
2018-03-01 22:04:47 -05:00
]
[lib]
name = "portability_gfx"
2017-12-26 19:45:31 +01:00
[features]
default = []
2018-03-01 22:04:47 -05:00
dispatch = []
2018-04-25 12:00:50 -04:00
nightly = []
metal-capture = ["gfx-backend-metal/auto-capture"]
2017-12-26 19:45:31 +01:00
2017-12-08 19:18:18 +01:00
[dependencies]
copyless = "0.1.1"
2017-12-08 19:18:18 +01:00
lazy_static = "1.0"
2018-07-18 18:09:32 -04:00
log = { version = "0.4", features = ["release_max_level_error"] }
2017-12-08 19:18:18 +01:00
2018-02-28 12:49:44 -05:00
[dependencies.env_logger]
version = "0.5"
optional = true
[dependencies.renderdoc]
version = "0.3"
optional = true
[dependencies.gfx-hal]
git = "https://github.com/gfx-rs/gfx"
2018-04-09 08:33:24 -04:00
#path = "../../gfx/src/hal"
2018-03-01 22:04:47 -05:00
[target.'cfg(not(target_os = "macos"))'.dependencies.gfx-backend-vulkan]
git = "https://github.com/gfx-rs/gfx"
2018-04-09 08:33:24 -04:00
#path = "../../gfx/src/backend/vulkan"
2017-12-26 19:45:31 +01:00
optional = true
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
git = "https://github.com/gfx-rs/gfx"
2018-04-09 08:33:24 -04:00
#path = "../../gfx/src/backend/dx12"
2017-12-26 19:45:31 +01:00
optional = true
2018-03-01 22:04:47 -05:00
2018-06-22 15:00:34 +03:00
[target.'cfg(windows)'.dependencies.gfx-backend-dx11]
git = "https://github.com/gfx-rs/gfx"
#path = "../../gfx/src/backend/dx11"
optional = true
2018-03-01 22:04:47 -05:00
[target.'cfg(target_os = "macos")'.dependencies.gfx-backend-metal]
git = "https://github.com/gfx-rs/gfx"
2018-04-09 08:33:24 -04:00
#path = "../../gfx/src/backend/metal"
2018-03-01 22:04:47 -05:00
optional = true