aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 05332e0..ee33a0d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -32,3 +32,8 @@ features = ["macros", "migrate", "postgres"]
[profile.dev.package.sqlx-macros]
opt-level = 3
+
+[profile.release]
+lto = true
+strip = true
+codegen-units = 1