From 4f2f3a435e4ee5822f8be58ba84c0f2bb3f78c3c Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Thu, 17 May 2018 13:28:50 +0200 Subject: Activate lto for binary size reductions --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 63853f5..5982d45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,9 @@ categories = ["command-line-utilities", "command-line-interface"] travis-ci = { repository = "svenstaro/miniserve", branch = "master" } maintenance = { status = "actively-developed" } +[profile.release] +lto = true + [dependencies] clap = "2.29" actix = "0.5" -- cgit v1.2.3