From 2954a96c89fd0ce14baf3e0c9f0d914bc9300078 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Sat, 16 May 2020 22:24:46 -0700 Subject: [PATCH] Enable LTO for release --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 79eeeef..7939832 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,3 +13,7 @@ edition = "2018" [dependencies.rustls] version = "0.17.0" default-features = false + +[profile.release] +lto = true +codegen-units = 1