diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-05-01 18:50:54 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-05-01 18:50:54 +0200 |
| commit | f724ef3ee1ae51de809481fe93d8a16205702406 (patch) | |
| tree | 8914965a9d1aa08d42d5d00ee0d534848abea8de /lib/typst | |
| parent | 3e00c224007db19cdc7869435967c5decea570a5 (diff) | |
build(typst): optimize cargo
Diffstat (limited to 'lib/typst')
| -rw-r--r-- | lib/typst/Cargo.toml | 9 |
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"] |
