aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/typst/Cargo.toml9
1 files changed, 6 insertions, 3 deletions
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"]