mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
73 lines
3.1 KiB
TOML
73 lines
3.1 KiB
TOML
[package]
|
|
name = "wgpu-core"
|
|
version = "0.6.0"
|
|
authors = ["wgpu developers"]
|
|
edition = "2018"
|
|
description = "WebGPU core logic on gfx-hal"
|
|
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
|
|
trace = ["ron", "serde", "wgt/trace", "naga/serialize"]
|
|
# Enable API replaying
|
|
replay = ["serde", "wgt/replay", "naga/deserialize"]
|
|
# Enable serializable compute/render passes, and bundle encoders.
|
|
serial-pass = ["serde", "wgt/serde", "arrayvec/serde"]
|
|
|
|
[dependencies]
|
|
arrayvec = "0.5"
|
|
bitflags = "1.0"
|
|
copyless = "0.1"
|
|
fxhash = "0.2"
|
|
parking_lot = "0.11"
|
|
raw-window-handle = { version = "0.3", optional = true }
|
|
ron = { version = "0.6", optional = true }
|
|
serde = { version = "1.0", features = ["serde_derive"], optional = true }
|
|
smallvec = "1"
|
|
tracing = { version = "0.1", default-features = false, features = ["std"] }
|
|
thiserror = "1"
|
|
|
|
gpu-alloc = { git = "https://github.com/zakarumych/gpu-alloc", rev = "15f4fe2cebbd0bf9ab446757a8e370e0adf4c502", features = ["tracing"] }
|
|
gpu-descriptor = { git = "https://github.com/zakarumych/gpu-descriptor", rev = "aa092613889f03f8254d6f7278d08c655324c7c7", features = ["tracing"] }
|
|
|
|
hal = { package = "gfx-hal", git = "https://github.com/gfx-rs/gfx", rev = "696947377a0ce5ba8a15a2e06ff97ed69c04f00a" }
|
|
gfx-backend-empty = { git = "https://github.com/gfx-rs/gfx", rev = "696947377a0ce5ba8a15a2e06ff97ed69c04f00a" }
|
|
|
|
[target.'cfg(all(not(target_arch = "wasm32"), all(unix, not(target_os = "ios"), not(target_os = "macos"))))'.dependencies]
|
|
gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", rev = "696947377a0ce5ba8a15a2e06ff97ed69c04f00a", features = ["naga"] }
|
|
gfx-backend-gl = { git = "https://github.com/gfx-rs/gfx", rev = "696947377a0ce5ba8a15a2e06ff97ed69c04f00a", features = ["naga"] }
|
|
|
|
[target.'cfg(all(not(target_arch = "wasm32"), any(target_os = "ios", target_os = "macos")))'.dependencies]
|
|
gfx-backend-metal = { git = "https://github.com/gfx-rs/gfx", rev = "696947377a0ce5ba8a15a2e06ff97ed69c04f00a", features = ["naga"] }
|
|
gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", rev = "696947377a0ce5ba8a15a2e06ff97ed69c04f00a", optional = true }
|
|
|
|
[target.'cfg(all(not(target_arch = "wasm32"), windows))'.dependencies]
|
|
gfx-backend-dx12 = { git = "https://github.com/gfx-rs/gfx", rev = "696947377a0ce5ba8a15a2e06ff97ed69c04f00a" }
|
|
gfx-backend-dx11 = { git = "https://github.com/gfx-rs/gfx", rev = "696947377a0ce5ba8a15a2e06ff97ed69c04f00a" }
|
|
gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", rev = "696947377a0ce5ba8a15a2e06ff97ed69c04f00a", features = ["naga"] }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
gfx-backend-gl = { git = "https://github.com/gfx-rs/gfx", rev = "696947377a0ce5ba8a15a2e06ff97ed69c04f00a", features = ["naga"] }
|
|
|
|
[dependencies.naga]
|
|
git = "https://github.com/gfx-rs/naga"
|
|
tag = "gfx-6"
|
|
features = ["spv-in", "spv-out", "wgsl-in"]
|
|
|
|
[dependencies.wgt]
|
|
path = "../wgpu-types"
|
|
package = "wgpu-types"
|
|
version = "0.6"
|
|
|
|
[dev-dependencies]
|
|
loom = "0.3"
|
|
|
|
[build-dependencies]
|
|
cfg_aliases = "0.1"
|