summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorarctic-penguin <103587359+arctic-penguin@users.noreply.github.com>2023-03-24 09:08:58 +0100
committerGitHub <noreply@github.com>2023-03-24 09:08:58 +0100
commit88e1134eec1cff84f9789120de8b68095776e972 (patch)
treeba951973c510a5bac2cba318b482c86d92789596 /Cargo.toml
parente0699ce4f32732f3521cbd3efa96aaf6bcfc693a (diff)
strip cli target (#143)
Stripping `typst-cli` reduces the file size from 24 MB to 18 MB.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f12f906f..f17cc108 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