2021-06-04 05:19:36 +00:00
|
|
|
[package]
|
|
|
|
name = "wgpu-hal"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["wgpu developers"]
|
|
|
|
edition = "2018"
|
|
|
|
description = "WebGPU hardware abstraction layer"
|
|
|
|
homepage = "https://github.com/gfx-rs/wgpu"
|
|
|
|
repository = "https://github.com/gfx-rs/wgpu"
|
|
|
|
keywords = ["graphics"]
|
2021-06-08 15:46:53 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-06-04 05:19:36 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
|
|
|
[features]
|
2021-06-08 15:46:53 +00:00
|
|
|
metal = ["mtl"]
|
2021-06-04 05:19:36 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
bitflags = "1.0"
|
2021-06-08 05:19:18 +00:00
|
|
|
raw-window-handle = "0.3"
|
2021-06-06 04:34:02 +00:00
|
|
|
thiserror = "1"
|
2021-06-04 05:19:36 +00:00
|
|
|
wgt = { package = "wgpu-types", path = "../wgpu-types" }
|
2021-06-05 05:44:21 +00:00
|
|
|
|
2021-06-08 15:46:53 +00:00
|
|
|
# backends
|
|
|
|
mtl = { package = "metal", version = "0.22", optional = true }
|
|
|
|
|
2021-06-05 05:44:21 +00:00
|
|
|
[dependencies.naga]
|
|
|
|
git = "https://github.com/gfx-rs/naga"
|
|
|
|
tag = "gfx-25"
|
2021-06-08 18:58:48 +00:00
|
|
|
|
|
|
|
[dev-dependencies.naga]
|
|
|
|
git = "https://github.com/gfx-rs/naga"
|
|
|
|
tag = "gfx-25"
|
|
|
|
features = ["wgsl-in"]
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
winit = "0.24"
|