2017-12-08 23:11:54 +11:00
|
|
|
[package]
|
|
|
|
name = "portability-gfx"
|
2018-03-02 14:04:47 +11:00
|
|
|
publish = false
|
2017-12-08 23:11:54 +11:00
|
|
|
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>",
|
2019-02-08 07:41:38 +11:00
|
|
|
"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
|
|
|
]
|
2017-12-08 23:11:54 +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 = []
|
2021-04-30 15:38:49 +10:00
|
|
|
nightly = ["fxhash", "lazy_static"]
|
2017-12-27 05:45:31 +11:00
|
|
|
|
2017-12-09 05:18:18 +11:00
|
|
|
[dependencies]
|
2019-03-20 01:04:07 +11:00
|
|
|
copyless = "0.1.1"
|
2021-01-17 18:17:32 +11:00
|
|
|
env_logger = { version = "0.8", optional = true }
|
2021-04-30 15:38:49 +10:00
|
|
|
fxhash = { version = "0.2", optional = true }
|
|
|
|
lazy_static = { version = "1", optional = true }
|
2018-07-19 08:09:32 +10:00
|
|
|
log = { version = "0.4", features = ["release_max_level_error"] }
|
2022-06-07 17:48:07 +10:00
|
|
|
renderdoc = { version = "0.5", optional = true }
|
2020-12-12 07:24:42 +11:00
|
|
|
raw-window-handle = "0.3"
|
2018-06-01 07:29:07 +10:00
|
|
|
|
2021-04-30 15:38:49 +10:00
|
|
|
[dependencies.profiling]
|
|
|
|
version = "1.0.1"
|
|
|
|
default-features = false
|
|
|
|
#features = ["profile-with-tracy"]
|
|
|
|
|
2020-03-27 15:38:01 +11:00
|
|
|
[dependencies.hal]
|
|
|
|
package = "gfx-hal"
|
2017-12-20 08:28:57 +11:00
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2017-12-08 23:11:54 +11:00
|
|
|
|
2019-06-27 04:10:13 +10:00
|
|
|
[dependencies.gfx-backend-empty]
|
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
|
|
|
2020-08-26 09:51:56 +10:00
|
|
|
[target.'cfg(not(any(target_os = "macos", target_os = "ios")))'.dependencies.gfx-backend-vulkan]
|
2017-12-20 08:28:57 +11:00
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2017-12-27 05:45:31 +11:00
|
|
|
optional = true
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
|
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
|
|
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"
|
|
|
|
optional = true
|
|
|
|
|
2020-08-26 09:51:56 +10:00
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.gfx-backend-metal]
|
2018-03-02 14:04:47 +11:00
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2021-04-30 15:38:49 +10:00
|
|
|
#features = ["cross"]
|
2018-03-02 14:04:47 +11:00
|
|
|
optional = true
|
2019-06-01 10:16:51 +10:00
|
|
|
|
2020-12-01 17:18:27 +11:00
|
|
|
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios")))'.dependencies.gfx-backend-gl]
|
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2021-04-30 15:38:49 +10:00
|
|
|
#features = ["cross"]
|
|
|
|
optional = true
|