-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (35 loc) · 1000 Bytes
/
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
[package]
name = "not-sliding-puzzle"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
winit = { version = "0.29", features = ["rwh_05"] }
glam = { version = "0.25", features = ["bytemuck"] }
bytemuck = { version = "1", features = ["derive"] }
image = "0.24"
log = "*"
rand = "0.8"
web-time = "1"
rfd = "0.13"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
wgpu = "0.19"
env_logger = "0.10"
pollster = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { version = "0.19", features = ["webgl", "wgsl"], default-features = false }
getrandom = { version = "0.2", features = ["js"] }
console_error_panic_hook = "0.1"
console_log = "1"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
[lib]
name = "notslidingpuzzle"
crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"
[[bin]]
name = "not-sliding-puzzle"
path = "src/main.rs"
test = false
[profile.release]
opt-level = "s"