Cargo Features
[dependencies]
typst-cli = { version = "0.13.1", default-features = false, features = ["embed-fonts", "http-server", "self-update", "vendor-openssl"] }
- default = embed-fonts, http-server
-
These default features are set whenever
typst-cli
is added without
somewhere 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
- http-server default
-
Enables the built-in HTTP server for
typst watch
and 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
- vendor-openssl
-
Whether to vendor OpenSSL. Not applicable to Windows and macOS builds.
Enables vendor-openssl of typst-kit