Cargo Features

tinymist-world has no features set by default.

[dependencies]
tinymist-world = { version = "0.12.21", features = ["browser-embedded-fonts", "http-registry", "web", "browser", "system"] }
browser-embedded-fonts

Enables fonts of typst-assets ^0.12.0

http-registry system?

Enables reqwest

Affects package::http

web browser? = js-sys, serde-wasm-bindgen, wasm-bindgen, web-sys

Enables web of tinymist-std and tinymist-vfs

Affects font::web

browser = web

Enables browser of tinymist-vfs

Affects package::browser

system = http-registry

Enables dirs ^5 and fontdb ^0.21, system of tinymist-std and tinymist-vfs

Affects font::system, tinymist-world::system

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.

js-sys web?
serde-wasm-bindgen web?
wasm-bindgen web?
web-sys web?