-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (50 loc) · 1.13 KB
/
Cargo.toml
File metadata and controls
58 lines (50 loc) · 1.13 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "krusty"
version = "0.1.0"
authors = []
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
cfg-if = "1"
anyhow = "1.0"
bytemuck = { version = "1.12", features = [ "derive" ] }
cgmath = "0.18"
env_logger = "0.10"
log = "0.4"
pollster = "0.3"
wgpu = "0.18"
winit = "0.28"
rand = "0.8.5"
js-sys = "0.3"
serde = { version = "1.0", features = ["derive"] }
gltf = {version = "1.4.0", features = ["KHR_materials_ior", "KHR_materials_transmission", "KHR_materials_specular", "extensions"]}
rayon = "1.8.1"
[dependencies.image]
version = "0.24"
default-features = false
features = ["png", "jpeg"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1"
console_log = "1.0"
wgpu = "0.18"
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = [
"Document",
"Window",
"Element",
]}
[alias]
xtask = "run --manifest-path xtask/Cargo.toml"
[build]
rustflags = [
"--cfg=web_sys_unstable_apis"
]
[build-dependencies]
anyhow = "1.0"
fs_extra = "1.2"
glob = "0.3"
[[bin]]
name = "krusty"
path = "src/main.rs"