Greatly reduce release build size

Courtesy of @Ryze@equestria.social
This commit is contained in:
Karcsesz 2024-02-15 00:13:40 +01:00
parent 04a45720ca
commit 6bf7803b99

View file

@ -26,3 +26,8 @@ tempfile = { version = "3.10.0", optional = true }
which = { version = "6.0.0", optional = true } which = { version = "6.0.0", optional = true }
nix = { version = "0.27.1", optional = true, default-features = false, features = ["signal"] } nix = { version = "0.27.1", optional = true, default-features = false, features = ["signal"] }
urlencoding = { version = "2.1.3"} urlencoding = { version = "2.1.3"}
[profile.release] # 💛 @Ryze@equestria.social
strip = "symbols"
lto = "fat"
codegen-units = 1