cosmic-applets/Cargo.toml
Brock 5c4aff2c9a
Use linker time optimization for release builds (#47)
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.
2022-12-29 13:13:47 -07:00

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"