From 88970e35dfb5eec87a16cab486f98aaabd7debac Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Thu, 28 Mar 2024 14:23:49 +0100 Subject: [PATCH] Add optimized release binary profile --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index aa0067b..34ca7e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,6 +28,11 @@ cli = [ "dep:tracing-subscriber", ] +[profile.release] +opt-level = "z" +strip = true +lto = true + [dependencies] dashmap = { version = "5.5", features = ["serde"] } dirs = "5.0"