From b246782cd4b3ee1fb2ee427220a1e731691c43d6 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sat, 1 Nov 2025 01:23:52 -0400 Subject: [PATCH] add profiles to cargo.toml for super duper fast compile times --- Cargo.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f74ffb4..381231f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,3 +7,17 @@ description = "It can parse your arguments you should use it it's called jaarg" [features] default = ["std"] std = [] + +[profile.release] +lto = "thin" +strip = "symbols" + +[profile.release-debuginfo] +inherits = "release" +strip = "none" +debug = 1 + +[profile.dev-fast] +inherits = "dev" +strip = "debuginfo" +debug = 0