From b693c78ad088223bd9a67b0e8179ba5a090f0aed Mon Sep 17 00:00:00 2001 From: Daan Boerlage Date: Tue, 10 Jan 2023 11:37:28 +0100 Subject: [PATCH] Reduce binary size --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f1f0a6f..e40884e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,3 +2,9 @@ name = "rot13" version = "0.1.0" edition = "2021" + +[profile.release] +opt-level = "z" +lto = true +codegen-units = 1 +panic = "abort" \ No newline at end of file