From de0040512b9809b3e30151febbae489a77969ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BC=D1=98=D0=B0=D0=BD=20=D0=93=D0=B5=D0=BE?= =?UTF-8?q?=D1=80=D0=B3=D0=B8=D0=B5=D0=B2=D1=81=D0=BA=D0=B8?= Date: Thu, 5 Jul 2018 18:04:11 +0200 Subject: [PATCH] try to build smaller --release binaries --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a455416..879ac22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,3 +16,8 @@ htmlescape = "0.3" [patch.crates-io] actix = { git = "https://github.com/actix/actix.git" } + +[profile.release] +#opt-level = 's' +lto = true +panic = 'abort'