wgpu/wgpu-native/Cargo.toml

53 lines
2.3 KiB
TOML
Raw Normal View History

[package]
name = "wgpu-native"
version = "0.3.3"
authors = [
"Dzmitry Malyshau <kvark@mozilla.com>",
"Joshua Groves <josh@joshgroves.com>",
]
2019-01-12 18:58:24 +00:00
edition = "2018"
description = "WebGPU native implementation on gfx-hal"
homepage = "https://github.com/gfx-rs/wgpu"
repository = "https://github.com/gfx-rs/wgpu"
keywords = ["graphics"]
license = "MPL-2.0"
2018-09-22 22:54:19 +00:00
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
[features]
default = []
2019-10-25 03:16:25 +00:00
local = ["lazy_static", "raw-window-handle"]
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]
2019-09-27 23:08:36 +00:00
arrayvec = "0.5"
bitflags = "1.0"
copyless = "0.1"
2019-11-02 04:24:36 +00:00
fxhash = "0.2"
2019-10-24 16:07:39 +00:00
lazy_static = { version = "1.1.0", optional = true }
2018-10-27 02:15:48 +00:00
log = "0.4"
2019-10-28 15:59:18 +00:00
hal = { package = "gfx-hal", git = "https://github.com/gfx-rs/gfx", rev = "46386475f7e823e807ec984c372ffe04dcc0a22b" }
gfx-backend-empty = { git = "https://github.com/gfx-rs/gfx", rev = "46386475f7e823e807ec984c372ffe04dcc0a22b" }
parking_lot = "0.9"
2019-10-25 03:16:25 +00:00
raw-window-handle = { version = "0.3", optional = true }
2019-10-28 15:59:18 +00:00
rendy-memory = { git = "https://github.com/amethyst/rendy", rev = "948ee05f7b2d129f2f1b9321c87077dd766d9672" }
rendy-descriptor = { git = "https://github.com/amethyst/rendy", rev = "948ee05f7b2d129f2f1b9321c87077dd766d9672" }
2019-02-17 04:49:52 +00:00
serde = { version = "1.0", features = ["serde_derive"], optional = true }
smallvec = "0.6"
2019-02-26 03:25:34 +00:00
vec_map = "0.8"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
2019-10-28 15:59:18 +00:00
gfx-backend-metal = { git = "https://github.com/gfx-rs/gfx", rev = "46386475f7e823e807ec984c372ffe04dcc0a22b" }
gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", rev = "46386475f7e823e807ec984c372ffe04dcc0a22b", optional = true }
2019-09-08 01:26:28 +00:00
[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies]
2019-10-28 15:59:18 +00:00
gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", rev = "46386475f7e823e807ec984c372ffe04dcc0a22b", features = ["x11"] }
[target.'cfg(windows)'.dependencies]
2019-10-28 15:59:18 +00:00
gfx-backend-dx12 = { git = "https://github.com/gfx-rs/gfx", rev = "46386475f7e823e807ec984c372ffe04dcc0a22b" }
gfx-backend-dx11 = { git = "https://github.com/gfx-rs/gfx", rev = "46386475f7e823e807ec984c372ffe04dcc0a22b" }
gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", rev = "46386475f7e823e807ec984c372ffe04dcc0a22b" }