From 332c3d569afce1702edd0fe90714b457ccbcc5a3 Mon Sep 17 00:00:00 2001 From: Xavier Vello Date: Mon, 11 Dec 2023 18:00:05 +0100 Subject: [PATCH] release: ship debug symbols in image for continuous profiling (#67) --- .dockerignore | 1 + Cargo.toml | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +target diff --git a/Cargo.toml b/Cargo.toml index 983cbf2..faf9d2a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,9 @@ members = [ "capture-server" ] +[profile.release] +debug = 2 # https://www.polarsignals.com/docs/rust + [workspace.dependencies] assert-json-diff = "2.0.2" axum = "0.6.15"