Shrink the release binary with a size-optimised profile and the glow renderer
This commit is contained in:
+8
-1
@@ -11,7 +11,7 @@ anyhow = "1.0.104"
|
||||
chrono = "0.4.45"
|
||||
dirs = "7.0.0"
|
||||
dotenvy = "0.15.7"
|
||||
eframe = "0.37.0"
|
||||
eframe = { version = "0.37.0", default-features = false, features = ["accesskit", "clipboard", "default_fonts", "links", "system_fonts", "wayland", "x11", "glow"] }
|
||||
ego-tree = "0.11.0"
|
||||
egui = "0.37.0"
|
||||
egui_extras = "0.37.0"
|
||||
@@ -35,3 +35,10 @@ url = "2.5.8"
|
||||
[dev-dependencies]
|
||||
egui_kittest = { version = "0.37.0", features = ["eframe", "wgpu", "snapshot"] }
|
||||
tempfile = "3.27.0"
|
||||
|
||||
[profile.release]
|
||||
# smaller binary: no debug symbols, whole-program optimisation
|
||||
strip = true
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
opt-level = "s"
|
||||
|
||||
Reference in New Issue
Block a user