From f6625de0e51ac2d59a955944017228a2eb2ebe37 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Fri, 8 Mar 2024 14:47:23 +0100 Subject: [PATCH] build: add release build profile --- Cargo.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 57f3164..7fd8f8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,4 +55,11 @@ version = "0.15" [dependencies.bwhc-dto] git = "https://github.com/ccc-mf/bwhc-dto-rs" -branch = "master" \ No newline at end of file +branch = "master" + +[profile.release] +opt-level = "s" +codegen-units = 1 +lto = "thin" +strip = true +panic = "abort" \ No newline at end of file