-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathCargo.toml
80 lines (67 loc) · 1.92 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
80
[package]
name = "wgputoy"
version = "0.1.1"
authors = ["David A Roberts <[email protected]>"]
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook", "winit"]
winit = ["dep:winit"]
[dependencies]
wasm-bindgen = "0.2.84"
wasm-bindgen-futures = "0.4.31"
pollster = "0.3.0"
bytemuck = { version = "1.9.1", features = ["derive"] }
log = "0.4.17"
env_logger = "0.11.3"
num = "0.4.0"
regex = "1.5.6"
lazy_static = "1.4.0"
bitvec = "1.0.0"
lazy-regex = "3.1.0"
itertools = "0.12.1"
futures-intrusive = "0.5.0"
async-recursion = "1.0.0"
snailquote = "0.3.1"
indexmap = "2.2.5"
notify = "7.0.0"
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.7", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_log = "1.0.0"
js-sys = "0.3.57"
web-sys = "0.3.57"
gloo-utils = "0.2.0"
gloo-net = "0.5.0"
raw-window-handle = { version = "0.6.0", features = ["wasm-bindgen-0-2"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
reqwest = "0.11.16"
reqwest-middleware = "0.2.4"
http-cache-reqwest = "0.13.0"
tokio = { version = "1.27.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
winit = { version = "0.29.14", optional = true }
[dependencies.wgpu]
version = "23.0.1"
[dependencies.image]
version = "0.24.2"
default-features = false
features = ["png", "jpeg", "hdr"]
[dependencies.instant]
version = "0.1.12"
features = ["wasm-bindgen"]
[dependencies.cached]
version = "0.49.2"
default-features = false
features = ["proc_macro", "wasm", "async"]
[dev-dependencies]
wasm-bindgen-test = "0.3.31"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
strip = true