wgpu/wgpu-core/Cargo.toml

65 lines
2.0 KiB
TOML
Raw Normal View History

2019-11-16 02:17:07 +00:00
[package]
name = "wgpu-core"
version = "0.10.4"
2020-06-18 18:01:59 +00:00
authors = ["wgpu developers"]
2019-11-16 02:17:07 +00:00
edition = "2018"
2020-03-26 14:40:12 +00:00
description = "WebGPU core logic on gfx-hal"
2019-11-16 02:17:07 +00:00
homepage = "https://github.com/gfx-rs/wgpu"
repository = "https://github.com/gfx-rs/wgpu"
keywords = ["graphics"]
2021-06-18 17:40:31 +00:00
license = "MIT OR Apache-2.0"
2019-11-16 02:17:07 +00:00
[lib]
[features]
default = []
# Enable API tracing
2021-06-21 17:05:29 +00:00
trace = ["ron", "serde", "wgt/trace", "arrayvec/serde", "naga/serialize"]
# Enable API replaying
2021-06-21 17:05:29 +00:00
replay = ["serde", "wgt/replay", "arrayvec/serde", "naga/deserialize"]
# Enable serializable compute/render passes, and bundle encoders.
serial-pass = ["serde", "wgt/serde", "arrayvec/serde"]
2019-11-16 02:17:07 +00:00
[dependencies]
2021-07-05 20:45:48 +00:00
arrayvec = "0.7"
2019-11-16 02:17:07 +00:00
bitflags = "1.0"
copyless = "0.1"
fxhash = "0.2"
log = "0.4"
2020-08-17 05:07:03 +00:00
parking_lot = "0.11"
2021-04-26 15:59:15 +00:00
profiling = { version = "1", default-features = false }
2020-04-29 04:42:35 +00:00
raw-window-handle = { version = "0.3", optional = true }
2020-08-17 05:07:03 +00:00
ron = { version = "0.6", optional = true }
2020-04-28 01:26:34 +00:00
serde = { version = "1.0", features = ["serde_derive"], optional = true }
2020-03-26 14:40:12 +00:00
smallvec = "1"
2020-07-17 17:21:19 +00:00
thiserror = "1"
2020-12-21 19:24:52 +00:00
[dependencies.naga]
#git = "https://github.com/gfx-rs/naga"
#rev = "4e181d6"
version = "0.6"
2021-06-19 03:44:00 +00:00
features = ["wgsl-in"]
[dependencies.wgt]
path = "../wgpu-types"
package = "wgpu-types"
version = "0.10"
2021-06-04 05:19:36 +00:00
[dependencies.hal]
path = "../wgpu-hal"
package = "wgpu-hal"
version = "0.10.4"
2021-06-04 05:19:36 +00:00
2021-06-08 15:46:53 +00:00
[target.'cfg(all(not(target_arch = "wasm32"), any(target_os = "ios", target_os = "macos")))'.dependencies]
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.10", features = ["metal"] }
2021-06-08 15:46:53 +00:00
#Note: could also enable "vulkan" for Vulkan Portability
2021-06-12 05:04:15 +00:00
[target.'cfg(all(not(target_arch = "wasm32"), unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies]
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.10", features = ["vulkan", "gles", "renderdoc"] }
2021-06-11 19:53:07 +00:00
2021-06-15 19:58:12 +00:00
[target.'cfg(all(not(target_arch = "wasm32"), windows))'.dependencies]
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.10", features = ["vulkan", "dx12", "renderdoc"] }
2021-06-15 19:58:12 +00:00
[build-dependencies]
cfg_aliases = "0.1"