diff --git a/Cargo.toml b/Cargo.toml
index 9df383df433d6c3494ae4f24e655056c5678d8a7..bcde667a1e71112c8ae3ec7442ccdded4479b59e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,6 +24,11 @@ doctest = false
 debug = 0
 lto = "thin"
 
+# This profile significantly speeds up build time. If debug info is needed you can comment the line
+# out temporarily, but make sure to leave this in the main branch.
+[profile.dev]
+debug = 0
+
 [features]
 embed-pictrs = ["pict-rs"]
 console = ["console-subscriber", "opentelemetry", "opentelemetry-otlp", "tracing-opentelemetry", "reqwest-tracing/opentelemetry_0_16"]