mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
42 lines
984 B
TOML
42 lines
984 B
TOML
[package]
|
|
name = "wgpu"
|
|
version = "0.3.0"
|
|
authors = [
|
|
"Dzmitry Malyshau <kvark@mozilla.com>",
|
|
"Joshua Groves <josh@joshgroves.com>",
|
|
"Lucas Kent <rubickent@gmail.com>",
|
|
"kyren <kerriganw@gmail.com>",
|
|
"Cormac O'Brien <cormac@c-obrien.org>",
|
|
]
|
|
edition = "2018"
|
|
description = "Rusty WebGPU 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"]
|
|
#TODO: there is no way to use glutin-0.20 with GL backend v0.3 yet
|
|
#gl = ["wgn/gfx-backend-gl"]
|
|
|
|
[dependencies]
|
|
wgn = { package = "wgpu-native", version = "0.3.1", features = ["local"] }
|
|
arrayvec = "0.4"
|
|
raw-window-handle = "0.1"
|
|
zerocopy = "0.2"
|
|
|
|
[dev-dependencies]
|
|
cgmath = "0.17"
|
|
env_logger = "0.6"
|
|
glsl-to-spirv = "0.1"
|
|
log = "0.4"
|
|
png = "0.15"
|
|
winit = "0.20.0-alpha3"
|