mirror of https://github.com/emilk/egui.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
765 B
30 lines
765 B
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"egui_demo_app",
|
|
"egui_demo_lib",
|
|
"egui_glium",
|
|
"egui_web",
|
|
"egui-winit",
|
|
"egui",
|
|
"emath",
|
|
"epaint",
|
|
"epi",
|
|
]
|
|
|
|
[patch.crates-io]
|
|
egui = { path = 'egui' }
|
|
egui_glium = { path = 'egui_glium' }
|
|
egui_web = { path = 'egui_web' }
|
|
|
|
[profile.dev]
|
|
split-debuginfo = "unpacked" # faster debug builds on mac
|
|
|
|
[profile.release]
|
|
# 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
|
|
|
|
# debug = true # include debug symbols, useful when profiling wasm
|
|
|