Cargo Features
[dependencies]
typlite = { version = "0.12.21", default-features = false, features = ["clap", "cli", "embed-fonts"] }
- default = cli, embed-fonts
-
These default features are set whenever
typlite
is added without
somewhere in the dependency tree.default-features = false - clap cli
-
Enables clap
- cli default = clap
-
Required by the binary
- embed-fonts default
-
Embeds Typst's default fonts for
- text (Linux Libertine),
- math (New Computer Modern Math), and
- code (Deja Vu Sans Mono)
and additionally New Computer Modern for text
into the binary.Enables fonts of tinymist-project