From 47e2444b11652561f7276c69121a6f8203dec65c Mon Sep 17 00:00:00 2001 From: Steve Cook Date: Thu, 2 Mar 2023 09:10:25 -0500 Subject: [PATCH] Add binary optimizations --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 33caa76..7367a37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,4 +68,9 @@ otsu_level = ["image"] members = [ "crates/one-d-proc-derive", "crates/cli" -] \ No newline at end of file +] + +[profile.release] +codegen-units = 1 +lto = true +opt-level = 3 \ No newline at end of file