From 88e1134eec1cff84f9789120de8b68095776e972 Mon Sep 17 00:00:00 2001 From: arctic-penguin <103587359+arctic-penguin@users.noreply.github.com> Date: Fri, 24 Mar 2023 09:08:58 +0100 Subject: [PATCH] strip cli target (#143) Stripping `typst-cli` reduces the file size from 24 MB to 18 MB. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f12f906f0..f17cc1086 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,3 +48,6 @@ debug = 0 [profile.dev.package."*"] opt-level = 2 + +[profile.release.package."typst-cli"] +strip = true