Cargo Features
[dependencies]
crityp = { version = "0.12.21", default-features = false, features = ["cli", "embed-fonts"] }
- default = cli, embed-fonts
-
These default features are set whenever
crityp
is added without
somewhere in the dependency tree.default-features = false - 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
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.