2018-12-30 20:08:29 +00:00
|
|
|
[workspace]
|
2021-03-31 20:54:21 +00:00
|
|
|
resolver = "2"
|
2018-12-30 20:08:29 +00:00
|
|
|
members = [
|
2022-12-06 19:42:25 +00:00
|
|
|
"crates/ecolor",
|
2022-08-20 08:41:49 +00:00
|
|
|
"crates/egui_demo_app",
|
|
|
|
"crates/egui_demo_lib",
|
|
|
|
"crates/egui_extras",
|
|
|
|
"crates/egui_glium",
|
|
|
|
"crates/egui_glow",
|
|
|
|
"crates/egui-wgpu",
|
|
|
|
"crates/egui-winit",
|
|
|
|
"crates/egui",
|
|
|
|
"crates/emath",
|
|
|
|
"crates/epaint",
|
2022-04-13 09:06:13 +00:00
|
|
|
|
2022-08-15 14:31:03 +00:00
|
|
|
"examples/*",
|
2018-12-30 20:08:29 +00:00
|
|
|
]
|
2020-05-20 16:58:21 +00:00
|
|
|
|
|
|
|
[profile.release]
|
2020-05-21 08:31:22 +00:00
|
|
|
# lto = true # VERY slightly smaller wasm
|
|
|
|
# opt-level = 's' # 10-20% smaller wasm compared to `opt-level = 3`
|
|
|
|
# opt-level = 1 # very slow and big wasm. Don't do this.
|
|
|
|
opt-level = 2 # fast and small wasm, basically same as `opt-level = 's'`
|
|
|
|
# opt-level = 3 # unecessarily large wasm for no performance gain
|
2021-04-01 21:07:43 +00:00
|
|
|
|
|
|
|
# debug = true # include debug symbols, useful when profiling wasm
|
2022-11-05 10:18:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
split-debuginfo = "unpacked" # faster debug builds on mac
|
2022-11-07 11:44:35 +00:00
|
|
|
# opt-level = 1 # Make debug builds run faster
|
2022-11-05 10:18:13 +00:00
|
|
|
|
|
|
|
# Optimize all dependencies even in debug builds (does not affect workspace packages):
|
|
|
|
[profile.dev.package."*"]
|
|
|
|
opt-level = 2
|