-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
79 lines (68 loc) · 1.97 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "rustl"
version = "0.0.1"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
simple_logger = "4.3.0"
log = "0.4"
cfg-if = "1"
wgpu = "0.18.0"
bytemuck = { version = "1.14.0", features = [ "derive" ] }
instant = "0.1"
winit = "0.28.7"
anyhow = "1.0"
nalgebra = "0.32.3"
sha256 = "1.4.0"
colored = "2.1.0"
base64 = "0.21"
strum = "0.25"
strum_macros = "0.25"
rfd = "0.12.1"
parry3d = "0.13"
bvh = "0.7"
tobj = { version = "4.0", features = ["async"]}
gltf = { version = "1.4.0", features = [
"extras",
"names",
"KHR_lights_punctual",
"KHR_materials_specular",
"KHR_materials_ior",
"KHR_materials_unlit"
]}
# jpeg decoder that image includes uses rayon to speed up the decoding with threads. WASM doesn't support threads currently so we need to disable this so that our code won't crash when we try to load a jpeg on the web.
image = { version = "0.24.7", default-features = false, features = [ "png", "jpeg"] }
# image = "0.24.5"
egui = "0.24.1"
egui-wgpu = "0.24.1"
egui_plot = "0.24.1"
#egui = { git = "https://github.com/emilk/egui" }
#egui-wgpu = { git = "https://github.com/emilk/egui" }
#egui_plot = { git = "https://github.com/emilk/egui" }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
egui-winit = "0.24.1"
#egui-winit = { git ="https://github.com/emilk/egui" }
pollster = "0.3.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.7"
console_log = "1.0.0"
reqwest = "0.11"
wgpu = { version = "0.18", features = ["webgl"]}
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = [
"Document",
"Window",
"Element",
"Location",
]}
wasm_thread = { version = "0.2.0", features = ["es_modules"]}
egui-winit = { version = "0.24.1", default-features = false, features = [
#egui-winit = { git ="https://github.com/emilk/egui", version = "0.22.0", default-features = false, features = [
"links",
] }
[build-dependencies]
fs_extra = "1.3.0"
glob = "0.3"
anyhow = "1.0"