mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
35 lines
874 B
TOML
35 lines
874 B
TOML
[package]
|
|
name = "wgpu"
|
|
version = "0.2.2"
|
|
authors = [
|
|
"Dzmitry Malyshau <kvark@mozilla.com>",
|
|
"Joshua Groves <josh@joshgroves.com>",
|
|
]
|
|
edition = "2018"
|
|
description = "Rusty wgpu API wrapper"
|
|
homepage = "https://github.com/gfx-rs/wgpu-rs"
|
|
repository = "https://github.com/gfx-rs/wgpu-rs"
|
|
keywords = ["graphics"]
|
|
license = "MPL-2.0"
|
|
|
|
[lib]
|
|
|
|
[features]
|
|
default = []
|
|
metal = ["wgn/gfx-backend-metal"]
|
|
dx11 = ["wgn/gfx-backend-dx11"]
|
|
dx12 = ["wgn/gfx-backend-dx12"]
|
|
vulkan = ["wgn/gfx-backend-vulkan"]
|
|
gl = ["wgn/gfx-backend-gl"]
|
|
|
|
[dependencies]
|
|
#TODO: only depend on the published version
|
|
wgn = { package = "wgpu-native", version = "0.2.6", features = ["local", "window-winit"], git = "https://github.com/gfx-rs/wgpu", rev = "dbef9f397eda87b82ae1691b2f7e8ba0f3e2e5d2" }
|
|
arrayvec = "0.4"
|
|
|
|
[dev-dependencies]
|
|
cgmath = "0.17"
|
|
env_logger = "0.6"
|
|
glsl-to-spirv = "0.1"
|
|
log = "0.4"
|