mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 17:22:07 +01:00
17 lines
317 B
Diff
17 lines
317 B
Diff
Optimize binary size (2.3 MB -> 1.5 MB)
|
|
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -6,7 +6,10 @@ description = "High performance torrent
|
|
edition = "2018"
|
|
|
|
[profile.release]
|
|
-lto = "fat"
|
|
+codegen-units = 1
|
|
+lto = true
|
|
+opt-level = "z"
|
|
+panic = "abort"
|
|
|
|
[dependencies]
|
|
serde = {version = "1.0", features = ["derive"]}
|