-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (27 loc) · 846 Bytes
/
Cargo.toml
File metadata and controls
30 lines (27 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[package]
name = "wgpu-triangle-demo"
version = "0.1.0"
edition = "2024"
description = "A cross-platform WebGPU graphics demo showcasing GPU-accelerated triangle rendering"
license = "MIT"
repository = "https://github.com/obox-systems/demo-wgpu-example"
keywords = ["wgpu", "graphics", "webgpu", "demo", "triangle"]
categories = ["graphics", "rendering"]
[dependencies]
winit = "0.27"
env_logger = "0.10"
log = "0.4"
wgpu = "0.15"
cfg-if = "1"
pollster = "0.2"
bytemuck = { version = "1.12", features = ["derive"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
console_log = "0.2.0"
wgpu = { version = "0.15", features = ["webgl"] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = ["Document", "Window", "Element"] }
[profile.release]
lto = true
opt-level = 3