-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
47 lines (38 loc) · 1.34 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
[package]
name = "bucksaw"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/KoffeinFlummi/bucksaw"
[dependencies]
log = "0.4.21"
anyhow = "1.0.86"
itertools = "0.13.0"
blackbox-log = "0.4.2"
realfft = "3.3.0"
colorgrad = { version = "0.6.2", default-features = false }
eframe = { version = "0.27.2", default-features = false, features = ["glow", "x11", "wayland", "default_fonts"] }
egui = { version = "0.27.2", default-features = false }
egui_plot = { version = "0.27.2", default-features = false }
egui_extras = { version = "0.27.2", default-features = false, features = ["image", "file"] }
image = { version = "0.24", default-features = false, features = ["png"] }
rfd = "0.13"
egui_oszi = { git = "https://github.com/KoffeinFlummi/egui_oszi" }
#egui_oszi = { path = "../egui_oszi" }
# Used for profiling
puffin = { version = "0.19", optional = true }
puffin_egui = { version = "0.27", optional = true }
# Only for native
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "0.11.3"
futures = "0.3.28"
# Only for WASM
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
async-std = "1.12.0"
[features]
profiling = ["dep:puffin", "dep:puffin_egui"]
[profile.release]
opt-level = 2 # fast and small wasm
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2