portability/libportability-gfx/Cargo.toml

73 lines
1.7 KiB
TOML
Raw Normal View History

[package]
name = "portability-gfx"
2018-03-02 14:04:47 +11:00
publish = false
version = "0.1.0"
2020-01-25 11:45:55 +11:00
edition = "2018"
2018-03-02 14:04:47 +11:00
authors = [
"Dzmitry Malyshau <kvark@mozilla.com>",
"Joshua Groves <josh@joshgroves.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 = []
2020-01-20 08:17:27 +11:00
nightly = ["gfx-auxil"]
metal-capture = ["gfx-backend-metal/auto-capture"]
2017-12-27 05:45:31 +11:00
2017-12-09 05:18:18 +11:00
[dependencies]
copyless = "0.1.1"
2017-12-09 05:18:18 +11:00
lazy_static = "1.0"
2018-07-19 08:09:32 +10:00
log = { version = "0.4", features = ["release_max_level_error"] }
2020-01-20 08:17:27 +11:00
smallvec = "1.0"
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.renderdoc]
version = "0.3"
optional = true
[dependencies.gfx-hal]
git = "https://github.com/gfx-rs/gfx"
2018-04-09 22:33:24 +10:00
#path = "../../gfx/src/hal"
2019-06-27 04:10:13 +10:00
[dependencies.gfx-backend-empty]
git = "https://github.com/gfx-rs/gfx"
#path = "../../gfx/src/backend/empty"
2018-03-02 14:04:47 +11:00
[target.'cfg(not(target_os = "macos"))'.dependencies.gfx-backend-vulkan]
2019-06-27 06:29:10 +10:00
features = ["x11", "xcb"]
git = "https://github.com/gfx-rs/gfx"
2018-04-09 22:33:24 +10:00
#path = "../../gfx/src/backend/vulkan"
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-04-09 22:33:24 +10:00
#path = "../../gfx/src/backend/dx12"
2017-12-27 05:45:31 +11:00
optional = true
2018-03-02 14:04:47 +11:00
2018-06-22 22:00:34 +10:00
[target.'cfg(windows)'.dependencies.gfx-backend-dx11]
git = "https://github.com/gfx-rs/gfx"
#path = "../../gfx/src/backend/dx11"
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"
2018-04-09 22:33:24 +10:00
#path = "../../gfx/src/backend/metal"
2018-03-02 14:04:47 +11:00
optional = true
[dependencies.gfx-backend-gl]
git = "https://github.com/gfx-rs/gfx"
#path = "../../gfx/src/backend/gl"
optional = true
2020-01-20 08:17:27 +11:00
[dependencies.gfx-auxil]
git = "https://github.com/gfx-rs/gfx"
# path = "../../gfx/src/auxil/auxil"
optional = true