From 6d01857bd069bf231c64a05336be000e62c69c41 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sun, 10 Jul 2022 14:24:48 -0700 Subject: [PATCH] Add release optimizations --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 6ec2ea4..623bb19 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,11 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[profile.release] +strip = true +lto = true +codegen-units = 1 + [dependencies] actix-web = "4" actix-cors = "0.6.1"