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 whenever typst-cli is added without default-features = false somewhere in the dependency tree.

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.

Enables vendored of openssl