From a8c389c3b476a14f96453917622f1be1c7d69172 Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Mon, 8 Feb 2021 20:32:17 +0100 Subject: [PATCH] Disable debug info in the dev profile by default This does not affect the release profile and it significantly speeds up compilation. In the rare cases where panics are not sufficient to debug something you can manually enable this again. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 2f7997616..0ae7a7a38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,9 @@ authors = ["Delta Chat Developers (ML) "] edition = "2018" license = "MPL-2.0" +[profile.dev] +debug = 0 + [profile.release] lto = true