Cargo Features
[dependencies]
typst-cli = { version = "0.14.2", default-features = false, features = ["embed-fonts", "http-server", "self-update", "vendor-openssl"] }
- default = embed-fonts, http-server
-
These default features are set whenever
typst-cliis added withoutsomewhere in the dependency tree.default-features = false - embed-fonts default
-
Embeds some fonts into the binary, see typst-kit
Enables embed-fonts of typst-kit
Affects
args::FontArgs.ignore_embedded_fonts… - http-server default
-
Enables the built-in HTTP server for
typst watchand HTML export.Enables tiny_http
Affects
args::WatchCommand.server,args::ServerArgs,compile::CompileConfig.server… - self-update
-
Permits the CLI to update itself without a package manager.
Enables self-replace, xz2, and zip ^5
- vendor-openssl
-
Whether to vendor OpenSSL. Not applicable to Windows and macOS builds.
Enables vendor-openssl of typst-kit