From 5fa155381b96724c3ae56631034509fe96f1f60b Mon Sep 17 00:00:00 2001 From: Thomas Eppers Date: Tue, 7 Sep 2021 15:30:03 +0200 Subject: [PATCH] added options for compiling release binary --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 05abd7c..988c3ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,4 @@ + [package] name = "query-docker-tags" version = "0.1.0" @@ -13,3 +14,7 @@ chrono = "0.4.19" tui = "0.16" termion = "1.5" regex = "1.5.4" + +[profile.release] +lto = "yes" +opt-level = "z" \ No newline at end of file