mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
61 lines
1.7 KiB
TOML
61 lines
1.7 KiB
TOML
[package]
|
|
name = "wgpu-core"
|
|
version = "0.5.0"
|
|
authors = [
|
|
"Dzmitry Malyshau <kvark@mozilla.com>",
|
|
"Joshua Groves <josh@joshgroves.com>",
|
|
]
|
|
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 = []
|
|
trace = ["serde", "wgt/trace"]
|
|
replay = ["serde", "wgt/replay"]
|
|
metal-auto-capture = ["gfx-backend-metal/auto-capture"]
|
|
#NOTE: glutin feature is not stable, use at your own risk
|
|
#glutin = ["gfx-backend-gl/glutin"]
|
|
|
|
[dependencies]
|
|
arrayvec = "0.5"
|
|
bitflags = "1.0"
|
|
copyless = "0.1"
|
|
fxhash = "0.2"
|
|
log = "0.4"
|
|
hal = { package = "gfx-hal", version = "0.5" }
|
|
gfx-backend-empty = "0.5"
|
|
gfx-descriptor = "0.1"
|
|
gfx-memory = "0.1"
|
|
parking_lot = "0.10"
|
|
peek-poke = "0.2"
|
|
serde = { version = "1.0", features = ["serde_derive"], optional = true }
|
|
smallvec = "1"
|
|
vec_map = "0.8"
|
|
|
|
[dependencies.wgt]
|
|
path = "../wgpu-types"
|
|
package = "wgpu-types"
|
|
version = "0.5"
|
|
features = ["peek-poke"]
|
|
|
|
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
|
|
gfx-backend-metal = { version = "0.5" }
|
|
gfx-backend-vulkan = { version = "0.5", optional = true }
|
|
|
|
[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies]
|
|
gfx-backend-vulkan = { version = "0.5", features = ["x11"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
gfx-backend-dx12 = { version = "0.5" }
|
|
gfx-backend-dx11 = { version = "0.5" }
|
|
gfx-backend-vulkan = { version = "0.5" }
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "dragonfly", target_os = "freebsd"))'.dependencies]
|
|
battery = { version = "0.7", optional = true }
|