diff --git a/backend/Cargo.toml b/backend/Cargo.toml index c68853c..79881b5 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -35,3 +35,9 @@ name ="nuchat" default = [ "shutdown" ] all = ["shutdown"] shutdown = [] + +[profile.release] +codegen-units = 1 +lto = "fat" +panic = "abort" +strip = "symbols"