-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
61 lines (49 loc) · 1.39 KB
/
Cargo.toml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[package]
name = "wgpu-hot-reload"
authors = ["Etienne"]
version = "0.1.0"
edition = "2021"
homepage = "https://github.com/Azkellas/rust_wgpu_hot_reload"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Azkellas/rust_wgpu_hot_reload"
description = "A template rust project to be productive in wgpu, with hot reload and wasm export"
keywords = ["wgpu", "hot-reload", "wasm", "template"]
[workspace]
resolver = "2"
members = ["lib", "run-wasm"]
[workspace.dependencies]
wgpu = { version = "22.1.0", default-features = false, features = [
"wgsl",
"webgl",
"webgpu",
] }
egui = "0.29.1"
pollster = "0.3.0"
log = "0.4.22"
winit = {version = "0.30.5"}
[dependencies]
wgpu.workspace = true
egui.workspace = true
pollster.workspace = true
log.workspace = true
winit.workspace = true
lib = { path = "./lib" }
hot-lib-reloader = { version = "^0.7", optional = true }
env_logger = "0.11.5"
wasm-bindgen = "0.2.92"
egui-wgpu = { version = "0.29.1", features = ["winit"] }
egui-winit = { version = "0.29.1", default-features = false }
cfg-if = "1.0.0"
[features]
reload = ["dep:hot-lib-reloader"]
[profile.dev]
opt-level = 0
[profile.dev.package."*"]
opt-level = 1
[target.'cfg(not(target_family = "wasm"))'.dependencies]
notify = "6.1.1"
[target.'cfg(target_family = "wasm")'.dependencies]
wasm-bindgen-futures = "0.4.42"
web-sys = "0.3.69"
console_error_panic_hook = "0.1.7"
console_log = "1.0.0"