Cargo Features

[dependencies]
typst-cli = { version = "0.12.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, see typst-kit

Enables embed-fonts of typst-kit

self-update

Permits the CLI to update itself without a package manager.

Enables self-replace, xz2, and zip

vendor-openssl

Whether to vendor OpenSSL. Not applicable to Windows and macOS builds.

Enables vendor-openssl of typst-kit