From f7ad38c74c03e9cb6dab3eeb82601a88ef2f2c06 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 17 Sep 2024 10:18:30 -0500 Subject: [PATCH] perf: Improve release performance Fixes #910 --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 709db1e30f..cf5c5bf9fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -97,6 +97,11 @@ cargo-test-macro = "0.3" cargo-test-support = "0.3" url = "2.4.0" +[profile.release] +panic = "abort" +codegen-units = 1 +lto = true + [features] default = [ "add",