From 8ea942e973720ce1fd7b6e527128281973f234f3 Mon Sep 17 00:00:00 2001 From: Michel Heily Date: Sun, 4 Sep 2022 22:08:50 +0300 Subject: [PATCH] Update my cargo profiles Former-commit-id: bdc727d4a0a3f7138d2d97505d7ef75cac24b575 Former-commit-id: 17f26c2a5e831c0b361cd328d8d2f72a440e4c89 --- Cargo.toml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8b2e8ab..96c9c18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,8 +10,18 @@ members = [ ] [profile.dev] -opt-level = 0 +opt-level = 2 debug = true - -[profile.release] -debug = true + +[profile.release] +debug = false + +[profile.release-dev] +inherits = "release" +opt-level = 3 +debug = true +debug-assertions = false + +[profile.release-lto] +inherits = "release" +lto = true \ No newline at end of file