-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
59 lines (51 loc) · 1.36 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
[package]
name = "webgpu_tut_lib"
version = "0.1.0"
authors = ["Kai Schubert <[email protected]>"]
edition = "2021"
publish = false
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "webgpu_tut_bin"
path = "src/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
winit = "0.26"
cgmath = "0.18"
env_logger = "0.9"
log = "0.4"
naga = "0.8"
wgpu = { version = "0.12.0", features = [ "glsl" ] }
pollster = "0.2"
cfg-if = "1"
bytemuck = { version = "1.4", features = [ "derive" ] }
anyhow = "1.0"
iced = { version = "0.4", features = ["tokio"] }
iced_wgpu = {version = "0.5.1"}
iced_web = "0.4"
iced_winit = "0.4"
iced_aw = { version = "0.2", features = ["icons"]}
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
wasm-bindgen = "0.2.69"
tobj = { version = "3.2.1", features = ["async"] }
image = { version = "0.24", default-features = false, features = ["png", "jpeg"]}
[build-dependencies]
anyhow = "1.0"
fs_extra = "1.2"
glob = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
reqwest = { version = "0.11" }
console_error_panic_hook = "0.1"
console_log = "0.2"
wgpu = { version = "0.12"}
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = [
"Document",
"Window",
"Element",
"Location",
"HtmlCanvasElement",
]}