From 3643ba0dfd5a8a9cc72e608ac8cdcee09f44d731 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Thu, 21 Nov 2024 16:47:36 +0400 Subject: [PATCH] feat: optimizations for release profile --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c172d41..21e495d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,3 +7,8 @@ edition = "2021" lightningcss = { version = "1.0.0-alpha.59", default-features = false, features = ["grid"] } pulldown-cmark = { version = "0.12.2", default-features = false, features = ["pulldown-cmark-escape"] } walkdir = "2.5.0" + +[profile.release] +codegen-units = 1 +lto = "fat" +panic = "abort"