From f102771ce4aa5c8c5fff25f748282afe38d88e68 Mon Sep 17 00:00:00 2001 From: Benedikt Reinartz Date: Fri, 11 Oct 2024 22:22:00 +0200 Subject: [PATCH] Move profiles to workspace Cargo.toml --- Cargo.toml | 7 +++++++ rustler/Cargo.toml | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 628b540c..f81d1d6c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,3 +16,10 @@ default-members = [ "rustler", "rustler_codegen", ] + +[profile.dev] +panic = "unwind" + +[profile.release] +panic = "unwind" + diff --git a/rustler/Cargo.toml b/rustler/Cargo.toml index c4138250..77de9e56 100644 --- a/rustler/Cargo.toml +++ b/rustler/Cargo.toml @@ -31,12 +31,6 @@ serde = { version = "1", optional = true } [build-dependencies] regex-lite = "0.1" -[profile.dev] -panic = "unwind" - -[profile.release] -panic = "unwind" - [package.metadata.release] [[package.metadata.release.pre-release-replacements]]