Cargo Features
tinymist-world has no features set by default.
[dependencies]
tinymist-world = { version = "0.13.12", features = ["fonts", "http-registry", "web", "browser", "system"] }
- fonts
-
Enables fonts of typst-assets
- http-registry system? = reqwest
- web browser? = chrono, js-sys, serde-wasm-bindgen, wasm-bindgen, web-sys
-
Enables wasmbind of chrono, web of tinymist-package, tinymist-std, and tinymist-vfs
Affects
font::web
… - browser = web
-
Enables browser of tinymist-package and tinymist-vfs
- system = chrono, dirs, fontdb, http-registry
-
Enables system of tinymist-package, 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.
- chrono system? web?
- dirs system?
- fontdb system?
-
Enables fontdb ^0.21
- js-sys web?
- reqwest http-registry?
- serde-wasm-bindgen web?
- wasm-bindgen web?
- web-sys web?