Cargo Features
[dependencies]
typst-cli = { version = "0.11.0", default-features = false, features = ["embed-fonts", "self-update", "vendor-openssl"] }
- default = embed-fonts
-
The
embed-fonts
feature is set by default whenevertypst-cli
is added without
somewhere in the dependency tree.default-features = false - embed-fonts default
-
Embeds some fonts into the binary:
- For text: Linux Libertine, New Computer Modern
- For math: New Computer Modern Math
- For code: Deja Vu Sans Mono - self-update
-
Permits the CLI to update itself without a package manager.
Enables self-replace, xz2, and zip ^0.6
- vendor-openssl
-
Whether to vendor OpenSSL. Not applicable to Windows and macOS builds.