wgpu/wgpu-core/Cargo.toml

71 lines
2.0 KiB
TOML
Raw Normal View History

2019-11-16 02:17:07 +00:00
[package]
name = "wgpu-core"
version = "0.6.0"
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"]
license = "MPL-2.0"
[lib]
[features]
default = []
# Enable API tracing
2020-04-28 02:41:43 +00:00
trace = ["ron", "serde", "wgt/trace"]
# Enable API replaying
2020-04-28 01:26:34 +00:00
replay = ["serde", "wgt/replay"]
# Enable serializable compute/render passes, and bundle encoders.
serial-pass = ["serde", "wgt/serde", "arrayvec/serde"]
2019-11-16 02:17:07 +00:00
[dependencies]
arrayvec = "0.5"
bitflags = "1.0"
copyless = "0.1"
fxhash = "0.2"
hal = { package = "gfx-hal", version = "0.6" }
gfx-backend-empty = "0.6"
2020-08-17 05:07:03 +00:00
parking_lot = "0.11"
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-06-19 18:55:09 +00:00
tracing = { version = "0.1", default-features = false, features = ["std"] }
2020-07-17 17:21:19 +00:00
thiserror = "1"
gfx-descriptor = "0.2"
2020-10-31 15:30:44 +00:00
gpu-alloc = { git = "https://github.com/zakarumych/gpu-alloc", rev = "2bb7ef947443b1b13e34d3b98a116da6d69ac15b" }
2019-11-16 02:17:07 +00:00
[dependencies.naga]
2020-08-17 05:07:03 +00:00
version = "0.2"
git = "https://github.com/gfx-rs/naga"
2020-10-07 20:14:13 +00:00
rev = "aa35110471ee7915e1f4e1de61ea41f2f32f92c4"
features = ["spv-in", "spv-out", "wgsl-in"]
[dependencies.wgt]
path = "../wgpu-types"
package = "wgpu-types"
version = "0.6"
[target.'cfg(all(unix, not(target_os = "ios")))'.dependencies]
gfx-backend-gl = { version = "0.6" }
2019-11-16 02:17:07 +00:00
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
2020-08-17 05:07:03 +00:00
gfx-backend-metal = { version = "0.6" }
2020-10-15 20:03:30 +00:00
gfx-backend-vulkan = { version = "0.6.4", optional = true }
2019-11-16 02:17:07 +00:00
[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies]
2020-10-15 20:03:30 +00:00
gfx-backend-vulkan = { version = "0.6.4" }
2019-11-16 02:17:07 +00:00
[target.'cfg(windows)'.dependencies]
2020-08-17 05:07:03 +00:00
gfx-backend-dx12 = { version = "0.6" }
gfx-backend-dx11 = { version = "0.6" }
2020-10-15 20:03:30 +00:00
gfx-backend-vulkan = { version = "0.6.4" }
2020-05-04 19:45:08 +00:00
[dev-dependencies]
loom = "0.3"
[build-dependencies]
cfg_aliases = "0.1"