mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
30 lines
548 B
TOML
30 lines
548 B
TOML
[package]
|
|
name = "examples"
|
|
version = "0.1.0"
|
|
authors = [
|
|
"Dzmitry Malyshau <kvark@mozilla.com>",
|
|
"Joshua Groves <josh@joshgroves.com>",
|
|
]
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "hello_triangle"
|
|
path = "hello_triangle_rust/main.rs"
|
|
|
|
[[bin]]
|
|
name = "hello_compute"
|
|
path = "hello_compute_rust/main.rs"
|
|
|
|
[features]
|
|
default = []
|
|
local = ["wgpu-native/local"]
|
|
metal = ["wgpu/metal"]
|
|
dx11 = ["wgpu/dx11"]
|
|
dx12 = ["wgpu/dx12"]
|
|
vulkan = ["wgpu/vulkan"]
|
|
|
|
[dependencies]
|
|
wgpu-native = { path = "../wgpu-native" }
|
|
wgpu = { path = "../wgpu-rs" }
|
|
env_logger = "0.5"
|