From fd659e3e613114ead60fc5b28348711bc57514ac Mon Sep 17 00:00:00 2001 From: Mark Drobnak Date: Mon, 10 Aug 2020 15:19:34 -0400 Subject: [PATCH] feat: Include minimal debug info in release builds (#215) This will enhance error backtraces in Sentry. Closes #77 --- autoendpoint/Cargo.toml | 3 +++ autopush/Cargo.toml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/autoendpoint/Cargo.toml b/autoendpoint/Cargo.toml index 28873be13..d3d7bfeb7 100644 --- a/autoendpoint/Cargo.toml +++ b/autoendpoint/Cargo.toml @@ -4,6 +4,9 @@ version = "1.0.0" authors = ["Mark Drobnak ", "jrconlin "] edition = "2018" +[profile.release] +debug = 1 + [dependencies] # Using a fork temporarily until these three PRs are merged: # - https://github.com/pimeys/a2/pull/49 diff --git a/autopush/Cargo.toml b/autopush/Cargo.toml index 2dbf2963f..000ef84a0 100644 --- a/autopush/Cargo.toml +++ b/autopush/Cargo.toml @@ -13,6 +13,9 @@ edition = "2018" name = "autopush_rs" path = "src/main.rs" +[profile.release] +debug = 1 + [dependencies] autopush_common = { path = "../autopush-common" } base64 = "0.12.1"