From 428c0d31e8b4969a12a0689b6667393f847a8579 Mon Sep 17 00:00:00 2001 From: Andrew Pennebaker Date: Wed, 29 Mar 2023 20:26:24 -0500 Subject: [PATCH] shrink rocky size --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d37fb5a..48deb40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,11 @@ regex = "1.7.3" # [lib] # name = "rocky" +[profile.release] +codegen-units = 1 +lto = true +strip = true + [[bin]] name = "rocky" path = "src/rocky.rs"