diff --git a/Cargo.toml b/Cargo.toml index 16fe32d..d2f026b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,10 @@ include = [ [dependencies] actix-web = "4.5.0" chrono = "0.4.33" + +[profile.release] +opt-level = 'z' # Optimize for size +lto = true # Enable link-time optimization +codegen-units = 1 # Reduce number of codegen units to increase optimizations +panic = 'abort' # Abort on panic +strip = true # Strip symbols from binary*