Przeglądaj źródła

Improve release performance

Lee Morgan 1 miesiąc temu
rodzic
commit
35149cc0a4
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      Cargo.toml

+ 7 - 0
Cargo.toml

@@ -25,3 +25,10 @@ thiserror = "2.0.18"
 tokio = { version = "1.52.3", features = ["full"] }
 uuid = { version = "1.23.1", features = ["v4", "v7", "serde"]}
 validator = { version = "0.20.0", features = ["derive"]}
+
+[profile.release]
+opt-level = 3
+lto = "fat"
+codegen-units = 1
+panic = "abort"
+strip = "symbols"