From dbccffc135d489da468b18256a002fd122f0888a Mon Sep 17 00:00:00 2001 From: crapStone Date: Tue, 26 Oct 2021 17:31:38 +0200 Subject: [PATCH] make binary faster and smaller --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 503b0ce..9666175 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,9 @@ clap = "2.33.3" [dependencies] clap = "2.33.3" exitcode = "1.1.2" + +[profile.release] +lto = true +panic = "abort" +codegen-units = 1 +