This reduces total package size by ~25%. There are no runtime consequences, though this does nearly double build times. But with the cargo workspace, this repo builds pretty quick. As well the same `lto` settings are already used in cosmic-comp.
19 lines
410 B
TOML
19 lines
410 B
TOML
[workspace]
|
|
|
|
members = [
|
|
"cosmic-app-list",
|
|
"cosmic-applet-audio",
|
|
"cosmic-applet-battery",
|
|
"cosmic-applet-graphics",
|
|
"cosmic-applet-network",
|
|
"cosmic-applet-notifications",
|
|
"cosmic-applet-power",
|
|
"cosmic-applet-time",
|
|
"cosmic-applet-workspaces",
|
|
]
|
|
|
|
[patch.crates-io]
|
|
zbus = {git = "https://gitlab.freedesktop.org/dbus/zbus", branch = "main"}
|
|
|
|
[profile.release]
|
|
lto = "fat"
|