-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (36 loc) · 1.31 KB
/
Copy pathCargo.toml
File metadata and controls
41 lines (36 loc) · 1.31 KB
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
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "simple_path_tracer" # If you change this name, change it also in index.html and build.sh
version = "1.0.0"
authors = ["wgpu developers", "Alpi Tolvanen <alpi.tolvanen@pm.me>",]
edition = "2021"
description = "A small example of webgpu computing and rendering. Based on wgpu examples."
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
[dependencies]
# futures = "0.3"
wgpu = "30"
winit = "0.30"
# rand = "0.8.3"
# cgmath = "0.18"
bytemuck = { version = "1.25", features = ["derive"] }
log = "0.4"
glam = "0.33"
futures-intrusive = "0.5.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
#subscriber = {version = "0.1", package = "wgpu-subscriber"}
env_logger = "0.11"
pollster = "1.0"
instant = "0.1.13" # This is std::instant that works also in web
image = "0.25"
dialoguer = "0.12" # Select gpu cli
[target.'cfg(target_arch = "wasm32")'.dependencies]
# wgpu and winit manage their own WebGPU/web-sys bindings internally; our own code doesn't call
# wasm-bindgen or web-sys directly, so they aren't declared here.
wasm-bindgen-futures = "0.4.76"
instant = { version = "0.1.13", features = [ "wasm-bindgen" ] }
console_error_panic_hook = "0.1.7"
console_log = "1.1.0"
[build-dependencies]
anyhow = "1.0"
[profile.release]
lto = "fat" # For getting linux binary to be <10MB so that I can upload it to GitLab