浏览代码

Improve release performance

Lee Morgan 1 月之前
父节点
当前提交
35149cc0a4
共有 1 个文件被更改,包括 7 次插入0 次删除
  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"