-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
40 lines (34 loc) · 912 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
[package]
name = "noise_gui"
version = "0.1.0"
authors = ["John Wells <[email protected]>"]
edition = "2021"
[dependencies]
crossbeam-channel = "0.5"
eframe = { version = "0.30", features = [
"serde",
"persistence",
] }
egui = "0.30"
egui-snarl = { git = "https://github.com/zakarumych/egui-snarl", features = ["serde"], rev = "b17ce7513987729f1ebe62ed03ca60bd74dcbac2" }
log = "0.4"
noise = "0.8"
ordered-float = "4.2"
serde = { version = "1", features = ["derive"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
anyhow = "1.0"
env_logger = "0.10"
rfd = "0.12"
ron = "0.8"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
web-sys = "0.3"
[build-dependencies]
anyhow = "1.0"
lazy_static = "1.4"
rand = "0.8"
[profile.release]
opt-level = 2 # fast and small wasm
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2