From add0c1dbcab310050c28622f1e32b0863d8abfdf Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Fri, 31 Jan 2020 09:17:07 +0100 Subject: [PATCH] Enable LTO for release builds --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index faf5fe9..9d8f336 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,9 @@ license = "MIT" include = ["Cargo.toml", "README.md", "LICENSE", "ACKNOWLEDGEMENTS", "src/**/*.rs"] +[profile.release] +lto = true + [dependencies] measure_time = "^0.6" structopt = "^0.3"