wgpu/wgpu-core/Cargo.toml

62 lines
1.7 KiB
TOML
Raw Normal View History

2019-11-16 02:17:07 +00:00
[package]
name = "wgpu-core"
2020-04-06 03:28:14 +00:00
version = "0.5.0"
2019-11-16 02:17:07 +00:00
authors = [
"Dzmitry Malyshau <kvark@mozilla.com>",
"Joshua Groves <josh@joshgroves.com>",
]
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 = []
2020-04-28 02:41:43 +00:00
trace = ["ron", "serde", "wgt/trace"]
2020-04-28 01:26:34 +00:00
replay = ["serde", "wgt/replay"]
2019-11-16 02:17:07 +00:00
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"
2020-03-26 14:40:12 +00:00
hal = { package = "gfx-hal", version = "0.5" }
gfx-backend-empty = "0.5"
gfx-descriptor = "0.1"
gfx-memory = "0.1"
parking_lot = "0.10"
2020-04-04 02:54:43 +00:00
peek-poke = "0.2"
2020-04-28 02:41:43 +00:00
ron = { version = "0.5", 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"
2019-11-16 02:17:07 +00:00
vec_map = "0.8"
[dependencies.wgt]
path = "../wgpu-types"
package = "wgpu-types"
2020-04-06 03:28:14 +00:00
version = "0.5"
2020-03-15 01:36:56 +00:00
features = ["peek-poke"]
2019-11-16 02:17:07 +00:00
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
2020-03-26 14:40:12 +00:00
gfx-backend-metal = { version = "0.5" }
gfx-backend-vulkan = { version = "0.5", optional = true }
2019-11-16 02:17:07 +00:00
[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies]
2020-03-26 14:40:12 +00:00
gfx-backend-vulkan = { version = "0.5", features = ["x11"] }
2019-11-16 02:17:07 +00:00
[target.'cfg(windows)'.dependencies]
2020-03-26 14:40:12 +00:00
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]
2020-02-10 01:15:55 +00:00
battery = { version = "0.7", optional = true }