From f724ef3ee1ae51de809481fe93d8a16205702406 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Fri, 1 May 2026 18:50:54 +0200 Subject: build(typst): optimize cargo --- lib/typst/Cargo.toml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/typst/Cargo.toml b/lib/typst/Cargo.toml index dc7eb97..a87ce82 100644 --- a/lib/typst/Cargo.toml +++ b/lib/typst/Cargo.toml @@ -12,11 +12,14 @@ typst-kit = "0.14.2" typst-svg = "0.14.2" [profile.release] -opt-level = 2 -codegen-units = 1 -lto = true +lto = "thin" +opt-level = 3 strip = true +[profile.small] +inherits = "release" +opt-level = "s" + [features] default = ["embed-fonts"] -- cgit v1.2.3