From c23cf8243781069a4fcf0bb49362ac7a1e4fe4c5 Mon Sep 17 00:00:00 2001 From: Julien Blanchard Date: Thu, 5 May 2022 11:33:22 +0200 Subject: [PATCH] Optimize binary size --- Cargo.lock | 2 +- Cargo.toml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 72ad34c..5233265 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -24,7 +24,7 @@ dependencies = [ [[package]] name = "asuka" -version = "0.8.4" +version = "0.8.5" dependencies = [ "cursive", "dirs", diff --git a/Cargo.toml b/Cargo.toml index 6dea6dc..89f9915 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,13 @@ [package] name = "asuka" -version = "0.8.4" +version = "0.8.5" authors = ["Julien Blanchard "] edition = "2021" +[profile.release] +opt-level = "z" # Optimize for size. +lto = true + [dependencies] cursive = "0.18" native-tls = "0.2.10" -- 2.45.2